Check Box Control Syntax
Syntax
(Variable_Name[!Event][?Enabled])
Note: You must not have any space characters in the finished command.
Argument |
Type |
Description |
| () | C |
The leading ( and trailing ) characters are required. |
| Variable_Name | C |
The name of a logical variable. |
| Event | C |
Optional. See Event Syntax. |
| Enabled | L |
Optional. See Enabled Syntax. |
Description
One or more check box controls may appear inside the Format section of a UI_DLG_BOX() or UI_MODELESS_DLG_BOX() function.
Example
Note that by default, that sharedfile is False and the check box is not checked. [Picture]
Dim sharedfile as L result = ui_dlg_box("Title",<<%dlg% Filename: [.32filename]; (sharedfile) Open the file as shared?; <OK> %dlg% ) |

This script initializes sharedfile to False, so the check box is checked. [Picture]
Dim sharedfile as L sharedfile =.t. result = ui_dlg_box("Title",<<%dlg% Filename: [.32filename]; (sharedfile) Open the file as shared?; <OK> %dlg% ) |

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