EDITTYPE Property
PLBCMP GUI Only
The EDITTYPE property specifies the type of characters that may be entered using an EDITTEXT object. The property uses the following format:
EDITTYPE={value}
Note the following:
EDITTYPE may be used in CREATE, SETPROP, or GETPROP statements of an EDITTEXT object.
{value} is a decimal number, a Numeric Variable, an Expression, or a keyword as defined in PLBEQU.INC. The supported values and keywords are:
|
Value |
Keyword |
Input is ... |
|
0 |
$NONE |
any value. (default) |
|
1 |
$ALL |
any value. |
|
2 |
$INTEGER |
restricted to numeric digits only.( 0 through 9 ). |
|
3 |
$DECIMAL |
restricted to numeric digits ( 0 through 9 ), minus sign (-) and decimal point (.). When this edit type is being used and the PLB_LOCALE is ON, any decimal point (.) is translated to the locale decimal point as data is moved into an EDITTEXT. Likewise, any locale decimal point is translated to a decimal point (.) as data is extracted from an EDITTEXT. |
|
4 |
$LOWERCASE |
converted to lower case as entered. |
|
5 |
$UPPERCASE |
converted to upper case as entered. |
|
6 |
$NUMERIC |
restricted to numeric digits ( 0 through 9 ), minus sign (-), locale decimal point, and locale thousand characters. |
See Also: Object Properties, Object IO Instructions, Object Definitions
![]() |