guiCheckBoxCreate (Function) |
Top Previous Next |
This function creates a new check box on the provided form. Check boxes toggles between two states when clicked, triggering the check box changed event.
Input: form : SYSHANDLE A handle to the form that the check box is created on.
x : SINT default 1 The horizontal location of the check box.
y : SINT default 1 The vertical location of the check box.
w : SINT default 1 The width of the check box.
h : SINT default 1 The height of the check box.
tag : DINT The tag value to store.
locked : BOOL default FALSE If this is TRUE, the state of the check box can not be changed.
checked : BOOL default FALSE The default state of this check box.
style : SINT default 0 The type of check box to create. 0 - 3D border 1 - Simple border 2 - Toggle button
Output: check_box : SYSHANDLE The handle to the new check box.
Returns: INT
Declaration: FUNCTION guiCheckBoxCreate : INT;
Example: INCLUDE rtcu.inc |