Hi all. I am new to this forum so thanks in advance for your help.
I am trying to control what a user can input in a text box. So far i have used the "keypress" event, "e.KeyValue" and "e.handled" to prevent user from entering a space character (Chr(32)).
What i want to do is to automatically replace the space by an underscore when the user input space in the text box: i.e. i want the space bar to type an underscore character, basically.
any clues?
Thanks
Dan
I am trying to control what a user can input in a text box. So far i have used the "keypress" event, "e.KeyValue" and "e.handled" to prevent user from entering a space character (Chr(32)).
What i want to do is to automatically replace the space by an underscore when the user input space in the text box: i.e. i want the space bar to type an underscore character, basically.
any clues?
Thanks
Dan