MaskDataType – PB Docs 150

MaskDataType property for PowerScript controls

Controls

EditMask controls

Description

This property specifies the datatype of the control. The special
characters used to define the mask differ depending on the datatype
of the mask control.

Usage

In a painter

proc.png To select the mask datatype:

  1. Select the desired type from the Type drop-down
    list box in the Options group on the Mask tab.

    The examples of special characters displayed in the Masks
    field change to show the characters relevant to the selected mask
    datatype.

In scripts

The MaskDataType property takes a value of the MaskDataType
enumerated datatype and can be used to obtain the datatype of a
mask. It cannot be used to set the datatype.

The following example uses the SetMask function
to set the datatype and date format for a mask, and then uses the
Mask property to obtain the value of the date format:


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