Properties that control the appearance and behavior of a column with the RadioButton edit style.
Column controls
PowerBuilder dot notation:
dw_control.Object.columnname.RadioButtons.property
Describe and Modify argument:
"columnname.RadioButtons.property { = value }"
Parameter |
Description |
---|---|
columnname |
The name of the column that has the RadioButton edit style. |
property |
A property for the RadioButton column. Properties and their settings are listed in the table below. |
value |
The value to be assigned to the property. For RadioButton properties, value cannot be a DataWindow expression. |
Property for RadioButtons |
Value |
---|---|
3D or ThreeD |
Whether the radio buttons are 3D. Values are:
Painter: 3D Look option. When using dot notation, use the term ThreeD instead of 3D. |
Columns |
An integer constant specifying the number of columns of radio buttons. Painter: Columns Across option. |
LeftText |
Whether the text labels for the radio buttons are on the left side. Values are:
Painter: Left Text option. |
Scale |
Whether the circle is scaled to the size of the font. Scale has an effect only when 3D is No. Values are:
Painter: Scale Circles option. |
Select the control and set the value in the Properties view, Edit tab when Style Type is RadioButtons.
setting = dw1.Describe("empg.RadioButtons.LeftText")
dw1.Modify("emp_gender.RadioButtons.LeftText=no")
dw1.Modify("emp_gender.RadioButtons.3D=Yes")
dw1.Modify("emp_gender.RadioButtons.Columns=2")
string setting
setting = &
dw1.Object.emp_gender.RadioButtons.LeftText
dw1.Object.emp_gender.RadioButtons.LeftText = "no"