General information
Category:
Forms & Form designer
Elegant.
>Harry,
>
>This is a known VFP "buglet" that has been around since at least Ver 5.0. It usually does no harm, but can sometimes be a problem.
>
>Our workaround, that solves this an other problems is to add a "Hasfocus" property to your base controls. In the GotFocus of the control, set HasFocus = .T.
>
>In the LostFocus event, set HasFocus = .F. Now at the top of your Valid code, test for HasFocus = .T. before executing the code. If the Valid code has already been run, HasFocus will be false, so your custom code will not execute twice.
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