|
-
Apr 18th, 2005, 12:48 PM
#1
Thread Starter
New Member
Validation problem [RESOLVED]
Hello everyone,
I need a way to avoid that a clicked control gets the control, is there a way to do it ?
This is my case, I have a text box that the only valid values are the ones that exists in a data combo, but I need to give the control to the data combo when the value in the text box is incorrect and retain the control until the user select a correct value.
Right now I can do it when I manually run the textbox1_validate event (in the keyup event), but when the user uses tab key or mouse to move to another control, I can not trap the control in the data combo.
I am using the cancel variable in the validate event, but does not work because then I can not go to the data combo,
Thanks
Last edited by rodrvars; Apr 19th, 2005 at 01:57 PM.
Reason: RESOLVED
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
|