General information
Category:
Forms & Form designer
>Well the problem is that I have a button. If you happen to be in the field that is getting validated and you click the button, the valid event fires; but then the code in the click method of the button never runs. For some reason the valid event code is cancelling out the code in the button.
>
>This is exactly what I would expect to happen. returning .F. or 0 from the Valid() method means that the control you are in does not lose focus. If you merely want to fisplay the message and move on, put the code in the LostFocus().
But I'm returning true from the valid event, not .f. or 0. I will move to the lostfocus but I'm curious as to why my click method is not running when I'm returning .t. from my valid event.
Thanks!
Previous
Next
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