RadioButton

Properties:

BackColor
Border
BorderColor
Caption
Enabled
FieldBackColor
FieldTextColor
Font
HorizontalAlign
SelectionValue
TextColor
TitleLocation
ToolTip
Transparent
VerticalAlign

Events:

OnChange

Description:

Use radio buttons if you need to choose only one numeric value from a small number of possible fixed options. Radio buttons that specify one value are referred to one group. For each radio button group, you should assign the first item in the group to which a changed value name is assigned. Radio buttons that refer to one group must follow each other in tab order starting from the first in the group.

Availability:

Thick client.

Example:

Controls.RadioButton1.Caption = "Day, week, month";
Controls.RadioButton1.SelectionValue = mDayWeekMonth;
Controls.RadioButton2.Caption = "Week, month, year";
Controls.RadioButton2.SelectionValue = mWeekMonthYear;
Controls.RadioButton3.Caption = "Week, year";
Controls.RadioButton4.SelectionValue = mWeekYear;


    

1C:Enterprise Developer's Community