Increment property for PowerScript controls
Controls
EditMask controls
Description
When an EditMask control has been defined as a spin control
(that is, a control with up and down arrows the user clicks to cycle
through predefined values), the Increment property specifies the
increment of the spin arrows.
Increment is valid only for numeric and date datatypes. In
a date datatype, the increment applies only to the year.
Usage
In a painter
To set the increment of a spin control:
-
Select the Spin Control check box on the
Mask tab page of the control’s Properties view.The Increment field becomes active.
-
Select the mask datatype from the Type drop-down
list. -
Enter an increment value in the Spin Increment
field.
In scripts
The Increment property takes a double. The following line
specifies an increment of 10 for an EditMask:
1 |
em_1.Increment = 10.0 |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments