RadioButtons.property

Description

Properties that control the appearance and behavior of a column with the RadioButton edit style.

Applies to

Column controls

Syntax

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:

  • Yes – Make the buttons 3D.

  • No – Do not make the buttons 3D.

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:

  • Yes – The text is on the left of the radio buttons.

  • No – The text is on the right of the radio buttons.

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:

  • Yes – Scale the circles.

  • No – Do not scale the circles.

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

Example 1

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")