Walter Meester
HoogkarspelPays-Bas
Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Network:
Windows 2003 Server
Tracy,
As Marcia outlines, this is not reliable when using activeX controls (even in VFP9). For the last couple of months we had significant trouble with activeX controls on modal forms causing VFP to be confused about the activeForm. The result was that a modeless form behind the modal form became active and the application locked up. We finally has a solution that involved using WONTOP() and some bindevents() and avoided the problem.
Walter,
>Over the years we have consistently used _Screen.ActiveForm.Name to determine the current active form. This has worked until recently. Recently, even though another form will actually be ontop and appear to have focus, _Screen.ActiveForm.Name returns the main form. I can only think that a timer may be running which could shift focus back to the mainform somehow. Is there ever a case when _Screen.ActiveForm.Name may be actually WRONG?
>
>Tia,
>
>Tracy
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement