PROPLIST.DoModal |
state = PROPLIST.DoModal() AS INTEGER
Displays the dialog. Returns one of the following predefined buttons
CONST PL_Cancel = 0 CONST PL_Ok = 1 CONST PL_Update = 1000
or it will return
Example:
PROPLIST.SETOPTION( "Working", TRUE, PL_Opt_Trigger )
DO nStatus = PROPLIST.DOMODAL()
IF WORD.Lo( nStatus, TRUE ) = -1 THEN PRINT PROPLIST.GETVALUE( "Working" ); " is now Working !", ENDIF
IF nStatus = 2 THEN PROPLIST.SETVALUE( "Working", "Kalle|Nisse|Pelle|Mamma Mia|Pappa Poo", TRUE ); PROPLIST.SETVALUE( "Working", 2 ); PROPLIST.SETVALUE( "File Under", "C:\kalle.anka" ); PROPLIST.SETVALUE( "Checked Item ?", TRUE ) PROPLIST.SETVALUE( "Floating Point", 654.321 ) PROPLIST.SETVALUE( "Integer Value", 69 ) ENDIF UNTIL ( nStatus = 0 ) OR ( nStatus = 1 )
|