April 2017
Intermediate to advanced
706 pages
17h 8m
English
A fourth dialog function is the STRMENU function. A STRMENU function call also causes processing to pause while the user responds to the dialog. The advantage of the STRMENU function is the ability to provide several choices, rather than just two (Yes or No). A common use is to provide an option menu in response to the user pressing a command button.
STRMENU has the following syntax:
IntegerValue := STRMENU(StringVariable of Options separated by commas [, OptionDefault][, Instruction])
IntegerValue will contain the user's selection entry and OptionDefault is an integer representing which option will be selected by default when the menu displays. If we do not provide an OptionDefault value, the first option listed will be ...
Read now
Unlock full access