Radio Button (Freeform) Control Syntax
Syntax
(Variable_Name:Prompt[!Change_Event][?Enabled])
Note: You must not have any space characters in the finished command.
Argument |
Type |
Description |
Variable_Name |
C |
A character variable to receive the user selection. |
Prompt |
C |
The text label associated with the radio button. |
(:) |
C |
The colon ":" and leading ( and trailing ) characters are required. |
Event |
C |
Optional. See Event Syntax. |
Enabled |
C |
Optional. See Enabled Syntax. |
Description
One or more Radio Button objects may appear inside the Format section of a UI_DLG_BOX() function.
Example
The following script demonstrates the use of freeform radio controls: [Picture]
dim shipto as C shipto = "Work" result = ui_dlg_box("Title",<<%dlg% Ship order to:; (shipto:Home); Ship the order to my home address.; (shipto:Work); Ship the order to my work address.; (shipto:Other); Address: [%M%.30,5address]; <OK> %dlg%) |

See Also
Xdialog Language Directives and Operators, Xdialog Control Reference
Supported By
Alpha Five Version 5 and Above