GroupName Property (ARadioButton)

Returns or sets a string that stores the name of the group to which this object belongs.

Syntax

Object.GroupName [ = sGroupName ]

The GroupName property syntax has the following parts:

 

Name

Type

Description

Object

ARadioButton

ARadioButton object

sGroupName

BString

A text string describing the name of the group to which this object belongs.

Comments

This property is added by ATEasy to controls that allow only one in a group to be selected, for example, the ARadioButton. Only one of all ARadioButtons in a group may be selected at one time, as compared to multiple choices for ACheckBoxes. When one ARadioButton is selected, its Value is set to one. Clicking on that control will unselect any other ARadioButton that was previously selected.

Example

The following statement changes the ARadioButton GroupName:

rad1.GroupName="Type of Connection"

Applies to

 

AGroupBox

ARadioButton

See Also

Caption, Description, Name, Tag, Text