Hi,
I have a textbox on a form I would like uppercased as its being typed. I tried 2 solutions, the first one being obvious - put This.Value=upper(This.Value) inside the interactiveChange event of the textbox. This didn't work because it results in the cursor being positioned at the beginning of the textbox.
So now I'm using a form's Keypress property to uppercase keystrokes thinking that foxpro will then pass the keystroke event on to the object in the form that generated the keypress, but that doesn't seem to be happening.
Any suggestions?
Thanks!
Andre
I have a textbox on a form I would like uppercased as its being typed. I tried 2 solutions, the first one being obvious - put This.Value=upper(This.Value) inside the interactiveChange event of the textbox. This didn't work because it results in the cursor being positioned at the beginning of the textbox.
So now I'm using a form's Keypress property to uppercase keystrokes thinking that foxpro will then pass the keystroke event on to the object in the form that generated the keypress, but that doesn't seem to be happening.
Any suggestions?
Thanks!
Andre