OWBasic Standard Library

Group QM Home INTRO Alphabetical Index

Quick Memo Selection Dialogue

QM_SELECT!()

This function provides a dialogue for Quick Memo selection.
Before this function is used, &qm_pic must be assigned a pointer to an integer array with 1302 or more elements; the array is used as icon buffer.
The global variables qm_nr, qm_fp and qm_cat are set by QM_SELECT! and may be used by the application.
The default category is given by qm_icat, the caption of the select button by qm_cpt.

Example:
! qmemodemo

#STD_USED=1
#GUI_USED=1
#QM_USED=1
INCLUDE StdQM
INCLUDE StdGUI
INCLUDE StdLib

DIM buf[1301] :! icon buffer

&qm_pic=&buf
qm_cpt="Select"

QM_SELECT!()

PRINT "cat: "; qm_cat, "nr: "; qm_nr, "fp: "; qm_fp
DRAWICON buf,2,29
END 1

Gruoup QM Home INTRO Alphabetical Index