RadioButtons.property DataWindow object property
Description
Properties that control the appearance and behavior of a column
with the RadioButton edit style.
Controls
Column controls
Syntax
PowerBuilder dot notation:
1 |
<span>dw_control</span>.Object.<span>columnname</span>.RadioButtons.<span>property</span> |
Describe and Modify argument:
1 |
"<span>columnname</span>.RadioButtons.<span>property</span> { = <span>value</span> }" |
Parameter |
Description |
---|---|
columnname |
The name of the column that has the RadioButton |
property |
A property for the RadioButton column. |
value |
The value to be assigned to the property. |
Property for RadioButtons |
Value |
---|---|
3D or ThreeD |
Whether the radio buttons are 3D. Values
Painter: 3D Look option. When using dot notation, use the term ThreeD instead of 3D. |
Columns |
An integer constant specifying the number Painter: Columns Across option. |
LeftText |
Whether the text labels for the radio Values are:
Painter: Left Text option. |
Scale |
Whether the circle is scaled to the size Values are:
Painter: Scale Circles option. |
Usage
In the painter
Select the control and set the value in the Properties view,
Edit tabwhen Style Type is RadioButtons.
Examples
1 |
setting = dw1.Describe("empg.RadioButtons.LeftText") |
1 |
dw1.Modify("emp_gender.RadioButtons.LeftText=no") |
1 |
dw1.Modify("emp_gender.RadioButtons.3D=Yes") |
1 |
dw1.Modify("emp_gender.RadioButtons.Columns=2") |
1 |
string setting |
1 |
setting = & |
1 |
dw1.Object.emp_gender.RadioButtons.LeftText |
1 |
dw1.Object.emp_gender.RadioButtons.LeftText = "no" |