My application uses Unicode characters, and I have several text fields in which I want to restrict the user to use special characters, such as : '";
begin if not (Key in ['a'..'z','A'..'Z',' ','0'..'9',
So, at this point, it allows the user to add spaces and use the backspace key to erase and, of course, enter the key for comfirm.
There are several Unicode characters that I want to enter as well. ą, č, é, į, š, ø, ū, ž and their alternatives are uppercase, but just adding them to the set as if ...
Key in ['a'..'z','A'..'Z',' ','0'..'9',
... does nothing, and I still cannot write these characters in a text box.
I would like to know how to solve this problem. Is there a way to determine if the key pressed is the Unicode character I'm looking for?
thanks