InkEdit.property DataWindow object property
Description
Properties that control the behavior of a column with the
InkEdit edit style.
Controls
Column controls
Syntax
PowerBuilder dot notation:
1 |
<span>dw_control</span>.Object.<span>columnname</span>.InkEdit.<span>property</span> |
Describe and Modify argument:
1 |
"<span>columnname</span>.InkEdit.<span>property </span>{ = <span>value </span>}" |
Parameter |
Description |
---|---|
columnname |
The name of a column that has the InkEdit |
property |
A property for the InkEdit column. Properties |
value |
The value to be assigned to the property. |
Property for InkEdit |
Value |
---|---|
AutoSelect |
Whether to select the contents of the
You can use AutoSelect with DataWindowSyntaxFromSql. Painter: Auto Selection option. |
DisplayOnly |
Specifies whether the text is display-only
Painter: Display Only option. |
Factoid |
Specifies a context for ink recognition. Painter: Factoid option. |
FocusRectangle |
Whether a dotted rectangle (the focus
You can use FocusRectangle with DataWindowSyntaxFromSql. The setting Painter: Show Focus Rectangle option. |
HScrollbar |
Whether a horizontal scroll bar displays
Painter: Horizontal Scroll Bar option. |
InkMode |
Specifies whether ink collection is enabled
Painter: InkMode option. |
Limit |
A number specifying the maximum number Painter: Limit option. |
NilIsNull |
Whether to set the data value of the
Painter: Empty String is null option. |
RecognitionTimer |
Specifies the time period in milliseconds Painter: RecognitionTimer option. |
Required |
Whether the column is required. Values
Painter: Required option. |
UseMouseForInput |
Specifies whether the mouse can be used
Painter: UseMouseForInput option. |
VScrollbar |
Whether a vertical scroll bar displays
Painter: Vertical Scroll Bar option. |
Usage
The following values for Factoid are available. After the
Default and None factoids, the drop-down list in the Properties
view displays factoids for special formats in alphabetical order,
followed by single-character factoids and Asian–language
factoids. You can set multiple
factoids by separating them with the pipe ( | ) character.
Factoid |
Description |
---|---|
Default |
Returns recognizer to the default setting. |
None |
Disables all factoids, dictionaries, |
Currency |
Currency in pounds, dollars, euros, and |
Date |
Dates written in English; for example |
|
E-mail addresses. |
Filename |
Windows file name paths. The name cannot |
Number |
Numeric values, including ordinals, decimals, |
Percent |
A number followed by the percent symbol. |
Postal Code |
Postal codes as written in English, for |
System Dictionary |
Words in the system dictionary only. |
Telephone |
Telephone numbers as written in English, |
Time |
Times as written in English, for example |
Web |
Various URL formats. |
Word List |
Words on the word list associated with |
Digit |
A single digit (0–9). |
One Char |
A single ANSI character. |
Upper Char |
A single uppercase character. |
In addition, the following Asian-language factoids are available:
Bopomofo |
Kanji Common |
Hangul Common |
Katakana |
Hiragana |
Korean Common |
Jamo |
Simplified Chinese Common |
Japanese Common |
Traditional Chinese Common |
In the painter
Select the control and set values in the Properties view,
Ink tab for properties relating to Ink, or the Edit tab for properties
common to other edit styles. The Style Type on the Edit tab must
be set to InkEdit.
Examples
1 |
string str |
1 |
str = dw1.Object.emp_name.InkEdit.Factoid |
1 |
dw1.Object.emp_name.InkEdit.Factoid = EMAIL |
1 |
str = dw1.Describe("emp_bd.InkEdit.Factoid") |
1 |
dw1.Modify("emp_bd.InkEdit.Factoid=EMAIL") |
1 |
string str |
1 |
str = dw1.Object.emp_name.InkEdit.AutoHScroll |
1 |
dw1.Object.emp_name.InkEdit.Required = "no" |