UseMouseForInput property for PowerScript controls
Controls
InkEdit, InkPicture controls
Description
Specifies whether the mouse can be used for input on a Tablet
PC. This property has no effect on other computers.
Usage
In a painter
To specify that ink can be added using a mouse:
-
Select the UseMouseForInput check box on
the Ink page in the Properties view.
In scripts
The UseMouseForInput property takes a boolean value. Do not
change this property at runtime while the control is collecting
or recognizing ink.
This code in a button’s Clicked event checks that
the status of the InkEdit control is idle before setting the UseMouseForInput
property to true:
|
1 |
IF ie_1.Status = InkEditIdle! THEN<br>   ie_1.UseMouseForInput = TRUE |
|
1 |
ELSE<br>   MessageBox("Please try again later",  &<br>      "Text is being recognized.")<br>END IF |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest