EditMask.property
property (DataWindow object)
Description
Settings that affect the appearance and behavior of columns with
the EditMask edit style.
Applies to
Column controls
Syntax
PowerBuilder dot notation:
|
1 |
dw_control.Object.columnname.EditMask.property |
Describe and Modify argument:
|
1 |
"columnname.EditMask.property { = value }" |
|
Parameter |
Description |
|---|---|
|
columnname |
The column with the EditMask edit style for which |
|
property |
A property for the column’s EditMask style. |
|
value |
The value to be assigned to the property. For |
|
Property for EditMask |
Value |
||
|---|---|---|---|
|
AutoSkip |
Whether the EditMask will automatically skip to the Values are: Yes — Skip No — Do not skip Painter: AutoSkip |
||
|
CodeTable |
Whether the column has a code Values are: Yes — Code table No — No code table Painter: Code Table option. When selected, |
||
|
DDCalendar |
Whether a drop-down calendar control displays when Values are: Yes — Drop-down No — (Default) Drop-down Painter: |
||
|
DDCal_AlignRight |
Whether the drop-down calendar is aligned with the Values Yes — Column is right aligned. No Painter: Drop |
||
|
DDCal_BackColor |
The background color of the drop-down calendar. The Painter: |
||
|
DDCal_TextColor |
The color of text in the drop-down calendar. The Painter: |
||
|
DDCal_TitleBackColor |
The background color of the title in the drop-down Painter: CalendarTitleBackColor option on |
||
|
DDCal_TitleTextColor |
The color of text in the title of the drop-down Painter: CalendarTitleTextColor option on |
||
|
DDCal_TrailingTextColor |
The color of trailing text (days in the previous Painter: |
||
|
FocusRectangle |
Whether a dotted rectangle (the focus rectangle) Values are: Yes — (Default) No — Do not display Painter: Show Focus Rectangle |
||
|
Mask |
A string containing the edit mask for the Painter: Mask option. |
||
|
ReadOnly |
Whether the column is read-only. This property is Values Yes — Do not allow the user to enter data; No — (Default) Allow the Painter: Read Only |
||
|
Required |
Whether the column is required. Values Yes — It is required. No — It is Painter: Required |
||
|
Spin |
Whether the user can scroll through a list of Values are: Yes — Display a No — (Default) Do not display a spin Painter: Spin Control |
||
|
SpinIncr |
An integer indicating the amount to increment the For columns that are not Painter: Spin Increment |
||
|
SpinRange |
A string containing the maximum and minimum values Because the SpinRange string is within
Painter: |
||
|
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 |
||
|
UseFormat |
Whether a Format Display mask is used for a Values Yes — Use a Format Display No — (Default) Do not use a Format Display 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 2 3 4 5 6 7 8 9 |
setting = dw1.Describe("emp_status.EditMask.Spin") dw1.Modify("empBonus.EditMask.SpinIncr=1000") dw1.Modify("empBonus.EditMask.SpinRange='0~~~~5000'") string setting setting = dw1.Object.emp_status.EditMask.Spin dw1.Object.emp_bonus.EditMask.SpinIncr = 1000 dw1.Object.id.EditMask.SpinRange = "0~~~~10" dw1.Object.col1.EditMask.UseEllipsis = Yes dw1.Modify("col1.EditMask.UseEllipsis=Yes") |