| View previous topic :: View next topic |
| Author |
Message |
Shane Holmes Guest
|
Posted: Thu Apr 12, 2007 6:51 pm Post subject: TIWEdit OnKeyPress |
|
|
This is my first time using Script Events. I would like to add a OnKeyPress
event to a TIWEdit....so when the user enters characters, they turn to
Uppercase characters
Can anyone help me do this?
THanks |
|
| Back to top |
|
 |
Pete d'Oronzio [pdmagic] Guest
|
Posted: Fri Apr 13, 2007 8:13 am Post subject: Re: TIWEdit OnKeyPress |
|
|
Shane Holmes wrote:
| Quote: | This is my first time using Script Events. I would like to add a
OnKeyPress event to a TIWEdit....so when the user enters
characters, they turn to Uppercase characters
Can anyone help me do this?
THanks
|
1. Drop edit control on form
2. in properties editor, choose ScriptEvents
3. Locate OnKeyUp
4: Paste in the following Javascript:
this.value=this.value.toUpperCase();
return false;
5: run  |
|
| Back to top |
|
 |
|