Edit.property
property (DataWindow object)
Description
Settings that affect the appearance and behavior of columns whose
edit style is Edit.
Applies to
Column controls
Syntax
PowerBuilder dot notation:
|
1 |
dw_control.Object.columnname.Edit.property |
Describe and Modify argument:
|
1 |
"columnname.Edit.property { = value }" |
SyntaxFromSql:
|
1 |
Column ( Edit.property = value ) |
|
Parameter |
Description |
|---|---|
|
columnname |
The column with the Edit edit style for which you |
|
property |
A property for the column’s Edit style. Properties |
|
value |
The value to be assigned to the property. For most |
|
Property for Edit |
Value |
|---|---|
|
AutoHScroll |
Whether the edit control scrolls horizontally Values are: Yes — Scroll No — Do not scroll You can use AutoHScroll Painter: Auto Horizontal |
|
AutoSelect |
Whether to select the contents of the edit control Values Yes — Select automatically. No — You can use AutoSelect Painter: Auto Selection |
|
AutoVScroll |
Whether the edit box scrolls vertically Values are: Yes — Scroll No — Do not scroll You can use AutoVScroll Painter: Auto Vertical Scroll |
|
Case |
The case of the text in the edit Values are: Any — Character of Upper — Characters converted to Lower — Characters converted to Painter: Case option. |
|
CodeTable |
Whether the column has a code Values are: Yes — Code table No — No code table Painter: Use Code Table |
|
DisplayOnly |
Whether the column is display Values are: Yes — Do not allow No — (Default) Allow the user to enter Painter: Display Only option. For |
|
FocusRectangle |
Whether a dotted rectangle (the focus rectangle) Values are: Yes — Display the No — Do not display the focus You can use FocusRectangle with Painter: Show Focus Rectangle |
|
Format |
(exp) A string containing the display format of the Painter: Format option (do |
|
HScrollBar |
Whether a horizontal scroll bar displays in the Values are: Yes — Display No — Do not display the Painter: Horizontal Scroll |
|
Limit |
A number specifying the maximum number of Painter: Limit option. |
|
Name |
A string whose value is the name of the predefined Painter: Style Name option. |
|
NilIsNull |
Whether to set the value of the edit control to Values Yes — Make the empty string No — Do not make the empty string Painter: Empty String is Null |
|
Password |
Whether to assign secure display mode to the Values are: Yes — Assign No — Do not If you Painter: Password option. |
|
Required |
Whether the column is required. Values Yes — It is required. No — It is Painter: Required |
|
Style |
(Describe only) Returns the edit style of the Painter: Style Type option. |
|
UseEllipsis |
Whether an ellipsis (three dots) displays when a The ellipsis does not display when the Values are: Yes — No — The
Painter: Use Ellipsis check box on the |
|
ValidateCode |
Whether the code table will be used to validate Values are: Yes — No — Do not use the code Painter: Validate option, available when Use |
|
VScrollBar |
Whether a vertical scroll bar displays in the line Values are: Yes — Display No — Do not display vertical Painter: Vertical Scroll Bar |
Usage
In the painter
Select the control and set values in the Properties view, Edit
tab, when Style Type is Edit.
Examples
|
1 2 3 4 5 6 7 8 |
string setting setting = dw1.Object.emp_name.Edit.AutoHScroll dw1.Object.emp_name.Edit.Required = "no" setting = dw1.Describe("emp_name.Edit.AutoHScroll") dw1.Modify("emp_name.Edit.Required=no") dw1.Object.col1.Edit.UseEllipsis = Yes dw1.Modify("col1.Edit.UseEllipsis=Yes") |