VALIDCHARS property

EditLine controls

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.

// 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.

  • guides/programming/programmers_reference_manual/validchars.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1