OptionGroup Script Object

                           

Creates a set of HTML radio buttons from which the user can make a unique selection.

Remarks

The OptionGroup script object can be bound to data.

The OptionGroup script object is implemented on the client browser as an <INPUT> tag where TYPE=RADIO.

To change the items of the OptionGroup object, call the addItem, removeItem, clear, and getCount methods.

Call the hide, show, and isVisible methods to control how the list box is displayed.

To manipulate the current item, call the getValue, setValue, getCaption, and setCaption methods.

To select an item, call the selectByValue or selectByCaption methods.

To return an individual radio button, call the getButton method.

At design time, you can use the OptionGroup design-time control to create an OptionGroup object. The OptionGroup control has custom property pages that make it easier to control the behavior of the OptionGroup object.

For information on scripting and objects, see Scripting with Design-Time Controls and Script Objects.