EditMask.property DataWindow object property
Description
Settings that affect the appearance and behavior of columns
with the EditMask edit style.
Controls
Column controls
Syntax
PowerBuilder dot notation:
1 |
<span>dw_control</span>.Object.<span>columnname</span>.EditMask.<span>property</span> |
Describe and Modify argument:
1 |
"<span>columnname</span>.EditMask.<span>property</span> { = <span>value </span>}" |
Parameter |
Description |
---|---|
columnname |
The column with the EditMask edit style |
property |
A property for the column’s |
value |
The value to be assigned to the property. |
Property for EditMask |
Value |
||
---|---|---|---|
AutoSkip |
Whether the EditMask will automatically Values are:
Painter: AutoSkip option. |
||
CodeTable |
Whether the column has a code table. Values are:
Painter: Code Table option. When selected, Display Value and |
||
DDCalendar |
Whether a drop-down calendar control Values are:
For Web DataWindows, to make sure that dates selected with If you do not include script for client formatting, the drop–down Painter: Drop-down Calendar option. |
||
DDCal_AlignRight |
Whether the drop-down calendar is aligned Values are:
Painter: Drop Align Right option on Other page. |
||
DDCal_BackColor |
The background color of the drop-down Painter: CalendarBackColor option on Other page. |
||
DDCal_TextColor |
The color of text in the drop-down calendar. Painter: CalendarTextColor option on Other page. |
||
DDCal_TitleBackColor |
The background color of the title in Painter: CalendarTitleBackColor option on Other page. |
||
DDCal_TitleTextColor |
The color of text in the title of the Painter: CalendarTitleTextColor option on Other page. |
||
DDCal_TrailingTextColor |
The color of trailing text (days in the Painter: CalendarTrailingTextColor option on Other page. |
||
FocusRectangle |
Whether a dotted rectangle (the focus Values are:
Painter: Show Focus Rectangle option. |
||
Mask |
A string containing the edit mask for Painter: Mask option. |
||
ReadOnly |
Whether the column is read-only. This Values are:
Painter: Read Only option. |
||
Required |
Whether the column is required. Values are:
Painter: Required option. |
||
Spin |
Whether the user can scroll through a Values are:
This setting has no effect in Web DataWindows. Painter: Spin Control option. |
||
SpinIncr |
An integer indicating the amount to increment For columns that are not numeric, date, or time, the spin Painter: Spin Increment option. |
||
SpinRange |
A string containing the maximum and minimum Because the SpinRange string is within another quoted string,
Painter: Spin Range group, Spin Min and Spin Max options. |
||
UseEllipsis |
Whether an ellipsis (three dots) displays The ellipsis does not display when the column has focus. Values are:
The property is ignored if you:
Painter: Use Ellipsis check box on the Format page. |
||
UseFormat |
Whether a Format Display mask is used Values are:
Painter: Use Format option. |
Usage
In the painter
Select the control and set values in the Properties view,
Edit tab, when Style is EditMask.
Examples
1 |
setting = dw1.Describe("emp_status.EditMask.Spin") |
1 |
dw1.Modify("empBonus.EditMask.SpinIncr=1000") |
1 |
dw1.Modify("empBonus.EditMask.SpinRange='0~~~~5000'") |
1 |
string setting |
1 |
setting = dw1.Object.emp_status.EditMask.Spin |
1 |
dw1.Object.emp_bonus.EditMask.SpinIncr = 1000 |
1 |
dw1.Object.id.EditMask.SpinRange = "0~~~~10" |
1 |
dw1.Object.col1.EditMask.UseEllipsis = Yes<br>dw1.Modify("col1.EditMask.UseEllipsis=Yes") |