Properties that control the appearance and behavior of a column with the RadioButton edit style.
Column controls
DataWindow .NET dot notation:
(( RadioButton) colname.EditStyle).property [C#] CType(colname.EditStyle, RadioButton).property [Visual Basic]
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:
When using dot notation, use the term ThreeD instead of 3D. |
Columns |
An integer constant specifying the number of columns of radio buttons. |
LeftText |
Whether the text labels for the radio buttons are on the left side. Values are:
|
Scale |
Whether the circle is scaled to the size of the font. Scale has an effect only when 3D is No. Values are:
|
Select the control and set the value in the Properties window, Behavior category when EditStyle is RadioButtons.
In DataWindow .NET, you can use the RadioButton class to set RadioButton Edit style properties using dot notation. See the description of the RadioButton class in the online Help in Visual Studio .NET for property names.
[Visual Basic] 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")
[Visual Basic] If TypeOf col6.EditStyle Is RadioButton Then CType(col6.EditStyle, RadioButton).LeftText = True ElseIf ...
[C#] if (empBnfts.EditStyle is RadioButton) { ((RadioButton)empBnfts.EditStyle).LeftText = true; } else ....