GUI Help > Create > createCheckBox
createCheckBox
int handle=createCheckBox(int x, int y, int width, int height, str caption, handle parent)
Description: Creates a checkbox. This is a small white box which the user clicks on to turn "on" or "off". It has a small label attached so the user knows what the checkbox is for.
Return Value: Handle to the new gadget.
Parameters:
x | X position of new gadget
y | Y position of new gadget
width | Width of new gadget in pixels
height | Height of new gadget in pixels
caption | The text which appears next to the checkbox
parent | Handle to the parent of the new gadget, or 0 for the main window
Remarks:
See Also:
Example: (Note: You will need to include the GUI constants file for this example to work)