VALIDCHARS property
Applies To
EditLine controls
Description
This property allows you to specify one or more characters that are "Valid" characters, which means that the user can only enter these characters into the control. This property is a simple string containing the characters that are allowed.
Usage
// Only allow numeric characters in EDL_NUMBER
validChars = "0123456789"
call set_Property( @window : ".EDL_NUMBER", "VALIDCHARS", validChars )
Note this property does not work if the EDITMASK property is set or the PASSWORDSTYLE property is TRUE.