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.

InkEdit controls may not paint correctly when you use animation
features.
Properties
InkEdit property |
Datatype |
Description |
---|---|---|
String |
A description of the control and/or |
|
String |
A label that briefly describes the control, |
|
AccessibleRole (enumerated) |
Describes what kind of user interface |
|
Alignment (enumerated) |
Specifies the alignment of text in the
|
|
Long |
Specifies the numeric value of the background |
|
Boolean |
Specifies whether the control has a border.
|
|
BorderStyle |
BorderStyle (enumerated) |
Specifies the border style of the control.
|
Boolean |
Specifies whether PowerBuilder moves |
|
ClassDefinition |
PowerObject |
An object of type PowerObject containing |
Boolean |
Specifies whether the text is display
|
|
Boolean |
Specifies whether PowerBuilder puts the
|
|
String |
Specifies the name of the stock icon When the user drags the control, the icon displays when the |
|
Boolean |
Specifies whether the control is enabled
|
|
String |
Specifies the name of the typeface in |
|
String |
Specifies a context for ink recognition. |
|
FontCharSet (enumerated) |
Specifies the font character set used |
|
FontFamily (enumerated) |
Specifies the font family (type style)
|
|
FontPitch (enumerated) |
Specifies the font pitch used for the
|
|
Integer |
Specifies the height of the control, |
|
Boolean |
Specifies whether a horizontal scroll
|
|
Boolean |
A drawing attribute that specifies whether
|
|
Boolean |
A drawing attribute that specifies whether
|
|
Long |
A drawing attribute that specifies the |
|
Integer |
A drawing attribute that specifies the |
|
InkMode (enumerated) |
Specifies whether ink collection is enabled
|
|
InkTransparency |
Integer |
A drawing attribute that specifies the |
Integer |
A drawing attribute that specifies the |
|
Boolean |
Specifies whether the ink is inserted
|
|
Boolean |
Specifies whether the text in the control
|
|
Integer |
Specifies the maximum number of characters |
|
Boolean |
Specifies whether the text in the control
When the first change is made to a newly opened or saved control, PowerBuilder |
|
PenTip |
InkPenTip (enumerated) |
A drawing attribute that specifies whether
|
String |
Specifies the name of the stock pointer |
|
Long |
Specifies the time period in milliseconds |
|
Boolean |
Specifies that characters should be displayed
|
|
InkEditStatus (enumerated) |
A read-only property available at runtime |
|
Integer |
Specifies the tab value of the control |
|
String |
Specifies the tag value assigned to the |
|
String |
Specifies the text that displays in the |
|
Long |
Specifies the numeric value of the color |
|
Integer |
Specifies the size of the text in the For backward compatibility, the size is stored as a negative number; |
|
Boolean |
Specifies whether the text in the control
|
|
Boolean |
Specifies whether the mouse can be used
|
|
Boolean |
Specifies whether the control is visible.
|
|
Boolean |
Specifies whether a vertical scroll bar
|
|
Integer |
Specifies the stroke weight of the text |
|
Integer |
Specifies the width of the control, in |
|
Integer |
Specifies the X position (the distance |
|
Integer |
Specifies the Y position (the distance |
Events
InkEdit event |
Occurs |
---|---|
When the object is created, immediately |
|
When the object is destroyed, immediately |
|
When a dragged control is dropped on |
|
When a dragged control enters the control. |
|
When a dragged control leaves the control. |
|
When a dragged control is within the |
|
When a gesture has occurred. |
|
Just before the control receives focus |
|
When the user presses the F1 key or drags |
|
When the control loses focus (becomes |
|
When a control has been changed and loses |
|
When a Windows message occurs that is |
|
When the right mouse button is pressed |
|
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 |
|
Integer |
Copies (but does not delete) the selected |
|
Integer |
Cuts (deletes) the selected text (if |
|
Integer |
Starts or ends the dragging of an InkEdit |
|
Integer |
Creates a reference to a context-specific |
|
PowerObject |
Returns a reference to the name of the |
|
Integer |
Hides the specified InkEdit item. |
|
Integer |
Moves a control or object to a specified |
|
Integer |
Inserts the contents of the clipboard |
|
Integer |
Determines the distance from the left |
|
Integer |
Determines the distance from the top |
|
Integer |
Returns the position of the insertion |
|
Boolean |
Adds the event to the end of the event |
|
Integer |
Includes this object in a print job. |
|
Integer |
Resizes a control to the specified dimensions. |
|
Integer |
Specifies that ink recognition should |
|
Integer |
Replaces the currently selected text |
|
Integer |
Returns the length of the selected text |
|
String |
Returns a string with the selected text |
|
Long |
Selects the text specified by the starting |
|
Integer |
Sets focus for a specified object or |
|
Integer |
Sets the position of the InkEdit control |
|
Integer |
Controls the automatic redraw of an object |
|
Integer |
Makes an object or control visible if |
|
Integer |
Triggers a specified event in the control |
|
Object |
Returns the type of the control. |