CheckBox.property
(DataWindow object)
Description
Settings for a column whose edit style is CheckBox.
Applies to
Column controls
Syntax
PowerBuilder dot notation:
|
1 |
dw_control.Object.columnname.CheckBox.property |
Describe and Modify argument:
|
1 |
"columnname.CheckBox.property { = value }" |
|
Parameter |
Description |
|---|---|
|
columnname |
The column whose edit style is CheckBox for which |
|
property |
A property for the CheckBox edit style, as listed |
|
value |
Values for the properties are shown in the table |
|
Property for CheckBox |
Value |
|---|---|
|
LeftText |
Whether the CheckBox label is to the left or right Values are: Yes — No — Display the Painter: Edit tab, Left Text |
|
Off |
A string constant specifying the column value when Painter: Edit tab, Data |
|
On |
A string constant specifying the value that will be Painter: Edit tab, Data Value for On |
|
Other |
A string constant specifying the value that will be Painter: Edit tab, This |
|
Scale |
Whether you want to scale the 2D CheckBox. Takes Values Yes — Scale the CheckBox. No — Do Painter: Edit tab,Scale |
|
Text |
A string specifying the CheckBox’s label Painter: Edit tab, Text option. |
|
ThreeD |
Whether the CheckBox should be Values are: Yes — Make the CheckBox No — Do not make the CheckBox Painter: Edit tab, 3D Look option. |
|
ThreeStates |
Whether the CheckBox should have three Values are: Yes — The CheckBox No — The CheckBox does not have Painter: Edit tab, 3 States |
Usage
In the painter
Select the control and set values in the Properties view, Edit
tab, when Style Type option is CheckBox.
Examples
|
1 2 3 4 5 6 7 8 9 10 11 12 |
dw1.Modify("emp_gender.CheckBox.3D=no") IF dw1.Describe("emp_status.CheckBox.LeftText") & = "yes" THEN dw1.Modify("emp_status2.CheckBox.LeftText=yes") END IF dw1.Modify("emp_status.CheckBox.Off='Terminated'") dw1.Modify("emp_status.CheckBox.On='Active'") dw1.Modify("emp_status.CheckBox.Other='Unknown'") dw1.Object.emp_gender.CheckBox.ThreeD = "no" IF dw1.Object.emp_status.CheckBox.LeftText = "yes" THEN dw1.Object.emp_status2.CheckBox.LeftText = "yes" END IF |