|
-
May 3rd, 2005, 10:49 PM
#1
Thread Starter
Junior Member
Canceling lose focus on Textbox
Is there anyway from the TextBox's LostFocus function to cancel it so the user is stuck in focus.
The reason I ask is that I want to validate the string in the textbox is a certain length. Currently when a user puts in a string longer than the allowed length a Messagebox displays and then the textbox is filled with a default value.
I'd like the user to be returned to the editing mode in the textbox with their original entered string so they can delete/edit it straight away.
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|