Filter Style

Friendly Name Filter Style
API Name FilterStyle
Type Integer
Restrictions Range is 0 - 8
Get Function   (dcl-Control-GetFilterStyle <CONTROL>)
Set Function   (dcl-Control-SetFilterStyle <CONTROL> NewValue [as Integer])
Applies To Text Box

This property assigns a predefined filter to the text box input. Note that a custom filter set via SetFilter is used when the Filter Style property is set to zero (the custom filter is ignored for other predefined filter styles).

Style Description
0 Non-control characters (or custom filter)
1 AutoCAD angle units only
2 Signed integers only
3 AutoCAD distance units only (affected by DIMZIN system variable)
4 AutoCAD symbol table names only
5 Upper case only
6 Lower case only
7 Password (hides input text)
8 All characters allowed (including [Enter])