InkEdit.property
property (DataWindow object)
Description
Properties that control the behavior of a column with the InkEdit
edit style.
Applies to
Column controls
Syntax
PowerBuilder dot notation:
|
1 |
dw_control.Object.columnname.InkEdit.property |
Describe and Modify argument:
|
1 |
"columnname.InkEdit.property { = value }" |
|
Parameter |
Description |
|---|---|
|
columnname |
The name of a column that has the InkEdit edit |
|
property |
A property for the InkEdit column. Properties and |
|
value |
The value to be assigned to the |
|
Property for InkEdit |
Value |
|---|---|
|
AutoSelect |
Whether to select the contents of the edit control Yes — Select automatically No — Do not select You can use AutoSelect with Painter: Auto Selection |
|
DisplayOnly |
Specifies whether the text is display-only and true — false — Text can be Painter: Display Only |
|
Factoid |
Specifies a context for ink recognition. Set this Painter: Factoid |
|
FocusRectangle |
Whether a dotted rectangle (the focus rectangle) Yes — (Default) Display the No — Do not display the focus You can use FocusRectangle with Painter: Show Focus Rectangle |
|
HScrollbar |
Whether a horizontal scroll bar displays in the Yes — Display the No — Do not display the Painter: Horizontal |
|
InkMode |
Specifies whether ink collection is enabled and InkDisabled (0) — Ink collection is CollectInkOnly (1) — Only ink is CollectInkAndGestures (2) — Ink and Painter: InkMode |
|
Limit |
A number specifying the maximum number of Painter: Limit option. |
|
NilIsNull |
Whether to set the data value of the InkEdit to Yes — Make the Empty string No — Do not make the empty string null Painter: Empty String is null |
|
RecognitionTimer |
Specifies the time period in milliseconds between Painter: |
|
Required |
Whether the column is required. Values Yes — Required. No — (Default) Painter: Required |
|
UseMouseForInput |
Specifies whether the mouse can be used for input true — The mouse can be false — The mouse cannot be used for Painter: UseMouseForInput |
|
VScrollbar |
Whether a vertical scroll bar displays in the edit Yes — Display a vertical No — Do not display a vertical scroll Painter: Vertical Scroll Bar |
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. For |
|
None |
Disables all factoids, dictionaries, and the |
|
Currency |
Currency in pounds, dollars, euros, and |
|
Date |
Dates written in English; for example 8/19/2005, |
|
|
E-mail addresses. |
|
Filename |
Windows file name paths. The name cannot include |
|
Number |
Numeric values, including ordinals, decimals, |
|
Percent |
A number followed by the percent |
|
Postal Code |
Postal codes as written in English, for example |
|
System Dictionary |
Words in the system dictionary only. |
|
Telephone |
Telephone numbers as written in English, for |
|
Time |
Times as written in English, for example 15:05 or |
|
Web |
Various URL formats. |
|
Word List |
Words on the word list associated with the |
|
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 2 3 4 5 6 7 8 |
string str str = dw1.Object.emp_name.InkEdit.Factoid dw1.Object.emp_name.InkEdit.Factoid = EMAIL str = dw1.Describe("emp_bd.InkEdit.Factoid") dw1.Modify("emp_bd.InkEdit.Factoid=EMAIL") string str str = dw1.Object.emp_name.InkEdit.AutoHScroll dw1.Object.emp_name.InkEdit.Required = "no" |
See also