OptionGadget3D()

Syntax

Result = OptionGadget3D(#Gadget3D, x, y, Width, Height, Text$)
Description
Creates an OptionGadget in the current GadgetList. If #PB_Any is used as '#Gadget3D' parameter, the new gadget number will be returned as 'Result'. The first time this function is called, a group is created and all following calls of OptionGadget3D() will add a gadget to this group. To finish the group, just create a gadget of another type. These kind of gadgets are very useful as only one gadget from the group can be selected at any time.

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

Supported OS

All

<- OpenGadgetList3D() - Gadget3D Index - PanelGadget3D() ->