InkEdit control
An InkEdit control collects pen input (ink) on a Tablet PC and
converts it to text. It is used with the handwriting recognition engine
(“recognizer”) that is part of the Tablet PC platform.
Using with animation features
InkEdit controls may not paint correctly when you use animation
features.
Properties
|
InkEdit property |
Datatype |
Description |
|---|---|---|
|
String |
A description of the control and/or its purpose for |
|
|
String |
A label that briefly describes the control, such as |
|
|
AccessibleRole (enumerated) |
Describes what kind of user interface element the |
|
|
Alignment (enumerated) |
Specifies the alignment of text in the control. Center! Justify! Left! Right! |
|
|
Long |
Specifies the numeric value of the background |
|
|
Boolean |
Specifies whether the control has a border. Values TRUE — Control has a border. FALSE |
|
|
BorderStyle |
BorderStyle (enumerated) |
Specifies the border style of the control. Values StyleBox! StyleLowered! StyleRaised! StyleShadowBox! |
|
Boolean |
Specifies whether PowerBuilder moves the control to |
|
|
ClassDefinition |
PowerObject |
An object of type PowerObject containing |
|
Boolean |
Specifies whether the text is display only and TRUE — FALSE — Text can be |
|
|
Boolean |
Specifies whether PowerBuilder puts the control TRUE — FALSE — When the control is clicked, the |
|
|
String |
Specifies the name of the stock icon or the file When the user drags the control, the |
|
|
Boolean |
Specifies whether the control is enabled (can be TRUE — Control can be FALSE — Control cannot be |
|
|
String |
Specifies the name of the typeface in which the |
|
|
String |
Specifies a context for ink recognition. Set this |
|
|
FontCharSet (enumerated) |
Specifies the font character set used for the text |
|
|
FontFamily (enumerated) |
Specifies the font family (type style) used for the AnyFont! Decorative! Modern! Roman! Script! Swiss! |
|
|
FontPitch (enumerated) |
Specifies the font pitch used for the text in the Default! Fixed! Variable! |
|
|
Integer |
Specifies the height of the control, in |
|
|
Boolean |
Specifies whether a horizontal scroll bar displays. TRUE — Horizontal scroll bar FALSE — Horizontal scroll bar does not |
|
|
Boolean |
A drawing attribute that specifies whether the TRUE — FALSE — The |
|
|
Boolean |
A drawing attribute that specifies whether the TRUE — The ink stroke appears FALSE — The ink |
|
|
Long |
A drawing attribute that specifies the current ink |
|
|
Integer |
A drawing attribute that specifies the height of |
|
|
InkMode (enumerated) |
Specifies whether ink collection is enabled and CollectInk! — Only ink is CollectInkAndGestures! — Ink and InkDisabled! — |
|
|
InkTransparency |
Integer |
A drawing attribute that specifies the transparency |
|
Integer |
A drawing attribute that specifies the width of the |
|
|
Boolean |
Specifies whether the ink is inserted as text or as TRUE — The ink is inserted as text FALSE — The ink is inserted as |
|
|
Boolean |
Specifies whether the text in the control is TRUE — Text is FALSE — Text is not italic |
|
|
Integer |
Specifies the maximum number of characters (0 to |
|
|
Boolean |
Specifies whether the text in the control has been TRUE — The control has FALSE — The control has not been When the first change is made to a newly |
|
|
PenTip |
InkPenTip (enumerated) |
A drawing attribute that specifies whether the pen PenTipBall! PenTipRectangle! |
|
String |
Specifies the name of the stock pointer or the file |
|
|
Long |
Specifies the time period in milliseconds between |
|
|
Boolean |
Specifies that characters should be displayed in TRUE — Characters display in right-to-left FALSE — Characters display in left-to-right |
|
|
InkEditStatus (enumerated) |
A read-only property available at runtime that |
|
|
Integer |
Specifies the tab value of the control within the |
|
|
String |
Specifies the tag value assigned to the |
|
|
String |
Specifies the text that displays in the |
|
|
Long |
Specifies the numeric value of the color used for |
|
|
Integer |
Specifies the size of the text in the control, in For backward compatibility, the size is |
|
|
Boolean |
Specifies whether the text in the control is TRUE — Text is FALSE — Text is not underlined |
|
|
Boolean |
Specifies whether the mouse can be used for input TRUE — The mouse can be FALSE — The mouse cannot be used |
|
|
Boolean |
Specifies whether the control is visible. Values TRUE — Control is visible FALSE — Control is not |
|
|
Boolean |
Specifies whether a vertical scroll bar is TRUE — Vertical scroll bar is FALSE — Vertical scroll bar is not |
|
|
Integer |
Specifies the stroke weight of the text in the |
|
|
Integer |
Specifies the width of the control, in PowerBuilder |
|
|
Integer |
Specifies the X position (the distance from the |
|
|
Integer |
Specifies the Y position (the distance from the top |
Events
|
InkEdit event |
Occurs |
|---|---|
|
When the object is created, immediately before the |
|
|
When the object is destroyed, immediately after the |
|
|
When a dragged control is dropped on the |
|
|
When a dragged control enters the |
|
|
When a dragged control leaves the |
|
|
When a dragged control is within the |
|
|
When a gesture has occurred. |
|
|
Just before the control receives focus (before it |
|
|
When the user presses the F1 key or drags the |
|
|
When the control loses focus (becomes |
|
|
When a control has been changed and loses |
|
|
When a Windows message occurs that is not a |
|
|
When the right mouse button is pressed on the |
|
|
When a recognition has occurred. |
|
|
When a stroke has occurred. |
Functions
|
InkEdit function |
Datatype returned |
Description |
|---|---|---|
|
String |
Returns the name of the control. |
|
|
Integer |
Clears the selected text (if any) from the control |
|
|
Integer |
Copies (but does not delete) the selected text (if |
|
|
Integer |
Cuts (deletes) the selected text (if any) from the |
|
|
Integer |
Starts or ends the dragging of an InkEdit |
|
|
Integer |
Creates a reference to a context-specific instance |
|
|
PowerObject |
Returns a reference to the name of the parent |
|
|
Integer |
Hides the specified InkEdit item. |
|
|
Integer |
Moves a control or object to a specified |
|
|
Integer |
Inserts the contents of the clipboard (if any) at |
|
|
Integer |
Determines the distance from the left edge of an |
|
|
Integer |
Determines the distance from the top edge of an |
|
|
Integer |
Returns the position of the insertion point in the |
|
|
Boolean |
Adds the event to the end of the event queue of an |
|
|
Integer |
Includes this object in a print job. Only the part |
|
|
Integer |
Resizes a control to the specified |
|
|
Integer |
Specifies that ink recognition should |
|
|
Integer |
Replaces the currently selected text (if any) with |
|
|
Integer |
Returns the length of the selected text (if any) in |
|
|
String |
Returns a string with the selected text (if any) |
|
|
Long |
Selects the text specified by the starting position |
|
|
Integer |
Sets focus for a specified object or |
|
|
Integer |
Sets the position of the InkEdit control in the |
|
|
Integer |
Controls the automatic redraw of an object after |
|
|
Integer |
Makes an object or control visible if it is hidden. |
|
|
Integer |
Triggers a specified event in the control and |
|
|
Object |
Returns the type of the control. |