Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form won't give up focus
Message
From
24/03/2022 08:07:47
 
 
To
23/03/2022 16:42:34
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01683822
Message ID:
01683966
Views:
71
>>>.. Sometimes, when a user has two forms open, one of the forms won't give up focus.
>>Nonetheless, I think I need to test this with Event Tracking on again to see exactly what's firing.
>
>Tamar, if event tracking doesn't help there is always "Binary Brute Force" ™
>
>Remove half the event code.
>If it still fails, remove half again.
>etc.
>
>Obviously, use a copy of the project, and save the halves as you go.
>And easier by opening the form as a dbf, so you
>can see all the Valid(), Losfocus(), When() and other suspicious and shady looking methods.
>
>The few times I had issues that could not be found using the debugger, this did work.
>It took a lot less time than I feared.

Nontrivial in this case. There's a lot of code at a lot of different levels from the base classes through intermediate classes to the form itself. I think I'm more likely to use a liberal sprinkling of DEBUGOUT commands than to start removing code.

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform