SG_OptionGadget | ||||||||||||||||||
Syntax: | ||||||||||||||||||
Result=SG_OptionGadget(SG_GadgetID_L.l, X_Pos_L.l, Y_Pos_L.l, Width_L.l, Height_L.l, GadgetText_S.s) | ||||||||||||||||||
Parameters: | ||||||||||||||||||
| ||||||||||||||||||
Return Values: | ||||||||||||||||||
| ||||||||||||||||||
Description: | ||||||||||||||||||
Creates an OptionGadget in the current GadgetList. The first time this function is called, a group is created and all following calls of SG_OptionGadget() 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. | ||||||||||||||||||
Example: | ||||||||||||||||||
| ||||||||||||||||||
Remarks: | ||||||||||||||||||
A click on an currently activ gadget resets the gadget, so that no item of the list is selected. | ||||||||||||||||||
|