-
I have a piece of code which checks if the last char entered in a textbox is a number or letter and if its a letter it prints the contents of the textbox back into the textbox without the last char.
the only problem is, it then moves the focus to the start of the textbox.
how do I move the focus to the end of the textbox?
any suggestions welcome
-
Use the SelStart property.
Code:
Text1.SelLength = 0
Text1.SelStart = Len(Text1)
------------------
Vincent van den Braken
EMail: [email protected]
ICQ: 15440110
Homepage: http://www.azzmodan.demon.nl