Status property for PowerScript controls
Controls
InkEdit, InkPicture controls
Description
A read-only property available at runtime that provides the
current status of the control so that the user does not need to
monitor the Stroke event to be sure that a stroke has been completed.
Usage
In scripts
The Status property for InkEdit controls takes a value of
the InkEditStatus enumerated variable. Values are InkEditCollectingInk!, InkEditRecognizingInk!,
and InkEditIdle!.
The Status property for InkPicture controls takes a value
of the InkPicStatus enumerated variable. Values are CollectingInk!
and Idle!.
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