ddlb.property
property (DataWindow object)
Description
Properties that control the appearance and behavior of a column
with the DropDownListBox edit style.
Applies to
Column controls
Syntax
PowerBuilder dot notation:
|
1 |
dw_control.Object.columnname.ddlb.property |
Describe and Modify argument:
|
1 |
"columnname.ddlb.property { = value }" |
|
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. For ddlb |
|
Property for ddlb |
Value |
|---|---|
|
AllowEdit |
Whether the user can type a value as well as choose Values Yes — Typing is allowed. No — Painter: Allow |
|
AutoHScroll |
Whether the DropDownListBox automatically scrolls Values are: Yes — (Default) No — Do not Painter: Auto Horizontal |
|
Case |
The case of the text in the Values are: Any — Upper — Characters Lower — Characters Painter: Case |
|
Limit |
An integer from 0 – 32767 specifying the maximum Painter: Limit |
|
NilIsNull |
Whether to set the data value of the Values are: Yes — Make the empty No — Do not make the empty string Painter: Empty string is null |
|
Required |
Whether the column is required. Values Yes — Required. No — (Default) Painter: Required |
|
ShowList |
Whether the ListBox portion of the DropDownListBox Values are: Yes — No Painter: Always Show List |
|
Sorted |
Whether the list in the DropDownListBox is Values are: Yes — The list is No — The list is not Painter: Sorted option. |
|
UseAsBorder |
Whether a down arrow displays at the right end of Values are: Yes — No — Do not display the Note that if ShowList is set to Yes, the Painter: Always Show Arrow |
|
VScrollBar |
Whether a vertical scroll bar displays in the Values Yes — Display a vertical scroll No — Do not display a vertical scroll Painter: Vertical Scroll Bar |
Usage
In the painter
Select the control and set the value in the Properties view, Edit
tab, when Style Type is DropDownListBox.
Examples
|
1 2 3 4 5 6 |
ls_data = dw1.Describe("emp_status.ddlb.AllowEdit") dw1.Modify("emp_status.ddlb.Case='Any'") dw1.Modify("emp_status.ddlb.Limit=30") string ls_data ls_data = dw1.Object.emp_status.ddlb.AllowEdit dw1.Object.emp_status.ddlb.Case = "Any" |