CheckBoxGadget3D()

Syntax

Result = CheckBoxGadget3D(#Gadget3D, x, y, Width, Height, Text$)
Description
Create a checkbox gadget in the current GadgetList. If #PB_Any is used as '#Gadget3D' parameter, the new gadget number will be returned as 'Result'. #Gadget3D will be the number returned by EventGadget3D() function. The 'Text$' is a description of the checkbox which will be displayed to the right of it.

To add a 'mini help' to this gadget, use GadgetToolTip3D().

- GetGadgetState3D() can be used to get the current gadget state (checked or unchecked).
- SetGadgetState3D() can be used to change the gadget state (checked or unchecked).

Supported OS

All

<- ButtonGadget3D() - Gadget3D Index - ClearGadgetItems3D() ->