General information
Category:
Forms & Form designer
>>That makes sense since it is what I am trying to do: There is a textbox with an associated lookup button. If entry is invalid but lookup button was just clicked, the valid should release and let it happen. The lookup button is responsible for what happens next.
>
>Well, I doubt you need to worry about the programmatic change in focus, so, use MDown() and Sys(1270) to see if the LookUpButton was selected. If MDown() is .F. test lastkey(), if it was TAB, you should skip validation cause you can assume you're going to the lookup button. Remember, to validate the textboxes value when you leave the button then, but only if you're not going back to the textbox.
Thanks
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only