InkEnabled property for PowerScript controls
Controls
InkPicture controls
Description
Specifies whether ink collection is enabled.
Usage
In a painter
To specify that an InkPicture control can collect
ink:
-
Select the InkEnabled check box on the
Ink page in the Properties view.
In scripts
The InkEnabled property takes a boolean value.
The value of the property is always false on
systems that do not have the Tablet PC SDK installed. You must set
this property to false before changing the MarginX
and MarginY properties, and you should set it to false before
closing an application. Before changing this property, make sure
the control is not collecting ink by checking the Status property.
This example checks that the ip_1 control
is not collecting ink, then disables ink collection:
1 |
IF ip_1.Status = Idle! THEN<br>   ip_1.InkEnabled = FALSE |
1 |
ELSE<br>   MessageBox("Please try again later",  &<br>      "Ink is being collected.")<br>END IF |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest