Increment – PB Docs 150

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

proc.png To set the increment of a spin control:

  1. Select the Spin Control check box on the
    Mask tab page of the control’s Properties view.

    The Increment field becomes active.

  2. Select the mask datatype from the Type drop-down
    list.

  3. 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:


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x