Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form won't give up focus
Message
De
24/03/2022 08:07:47
 
 
À
23/03/2022 16:42:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01683822
Message ID:
01683966
Vues:
72
>>>.. 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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform