optiongadget : need closeoptiongadget

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by teachco.

From the helpfile :

Code: Select all

OptionGadget(#Gadget, x, y, Width, Heigth, Text$)
 
Description:
============
Creates a Option gadget in the current GadgetList.
The first time this function is called, a group is
created and all following call of OptionGadget() 
will add a gadget to this group. To finish the group,
just call another gadget type. These kind of gadgets
are very handy as only one gadget on the group can 
be selected at the same time. 
That is not very handy, if I need more than one group. I think, it's a better construction, if we also would have a statement like closeoptiongadget. In this case it's not necessary to use a dummy gadget between two option groups.


Edited by - teachco on 25 June 2002 11:31:24
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by teachco.

Not so important, but nice to have.
Post Reply