Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Syntax 2 For EditMask controls – PB Docs 126 – PowerBuilder Library

Syntax 2 For EditMask controls – PB Docs 126

Syntax 2 For EditMask controls

Description

Gets the unformatted text from an EditMask control.

Controls

EditMask controls

Syntax

Argument

Description

editmaskname

The name of the EditMask control containing
the data.

datavariable

A variable to which GetData will
assign the unformatted data in the EditMask control. The datatype
of datavariable must match the datatype of
the EditMask control, which you select in the Window painter. Available
datatypes are date, DateTime, decimal, double, string,
and time.

Return Values

Integer. Returns 1 if it succeeds and
-1 if an error occurs. If any argument’s value is null, GetData returns null.

Usage

You can find out the datatype of an EditMask control by looking
at its MaskDataType property, which holds a value of the MaskDataType enumerated
datatype.

Examples

This example gets data of datatype date from the
EditMask control em_date. Formatting
characters for the date are ignored. The String function
converts the date to a string so it can be assigned to the SingleLineEdit sle_date:

This example gets string data from the EditMask control em_string and
assigns the result to sle_string.
Characters in the edit mask are ignored:


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