ddlb.property DataWindow object property
Description
Properties that control the appearance and behavior of a column
with the DropDownListBox edit style.
Controls
Column controls
Syntax
PowerBuilder dot notation:
1 |
<span>dw_control</span>.Object.<span>columnname</span>.ddlb.<span>property</span> |
Describe and Modify argument:
1 |
"<span>columnname</span>.ddlb.<span>property </span>{ = <span>value </span>}" |
Parameter |
Description |
---|---|
columnname |
The name of a column that has the DropDownListBox |
property |
A property for the DropDownListBox column. |
value |
The value to be assigned to the property. |
Property for ddlb |
Value |
---|---|
AllowEdit |
Whether the user can Values are:
Painter: Allow Editing option. |
AutoHScroll |
Whether the DropDownListBox automatically Values are:
Painter: Auto Horizontal Scroll option. |
Case |
The case of the text in the DropDownListBox. Values are:
Painter: Case option. |
Limit |
An integer from 0 – 32767 specifying Painter: Limit option. |
NilIsNull |
Whether to set the data value of the Values are:
Painter: Empty string is null option. |
Required |
Whether the column is required. Values are:
Painter: Required option. |
ShowList |
Whether the ListBox portion of the DropDownListBox Values are:
Painter: Always Show List option. |
Sorted |
Whether the list in the DropDownListBox Values are:
Painter: Sorted option. |
UseAsBorder |
Whether a down arrow displays at the Values are:
Note that if ShowList is set to Yes, the column ignores the Painter: Always Show Arrow option. |
VScrollBar |
Whether a vertical scroll bar displays Values are:
Painter: Vertical Scroll Bar option. |
Usage
In the painter
Select the control and set the value in the Properties view,
Edit tab, when Style Type is DropDownListBox.
Examples
1 |
ls_data = dw1.Describe("emp_status.ddlb.AllowEdit") |
1 |
dw1.Modify("emp_status.ddlb.Case='Any'") |
1 |
dw1.Modify("emp_status.ddlb.Limit=30") |
1 |
string ls_data |
1 |
ls_data = dw1.Object.emp_status.ddlb.AllowEdit |
1 |
dw1.Object.emp_status.ddlb.Case = "Any" |