Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Activate/Deactivate Sequence?
Message
De
30/08/1999 12:21:25
 
 
À
30/08/1999 11:25:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00259192
Message ID:
00259217
Vues:
15
>To make sure the forms correct toolbar is displayed when the form is activated, my methods look like:
>
>
*Form.Activate
>wait window 'activate1'
>if type('This.oToolBar.Visible')='L'
>	wait window 'activate2'
>	This.oToolBar.Visible = .T.
>endif
>
>and
>
>*Form.DeActivate
>wait window 'deactivate1'
>if type('This.oToolBar.Visible')='L'
>	wait window 'deactivate2'
>	This.oToolBar.Visible = .F.
>endif
Part of my question is, when you click on a for in the background, the newly clicked forms activate fires before the deactivate of the old form, right? How can 2 forms be active at once?
>
>Anyway, when I start the form the wat window sequence looks like:
>
>activate1
>activate2
>
>Then, when open another instance of the form, I see:
>
>activate1
>activate2
>deactivate2
>
>and never see "deactivate1"! Does anybody know why?

Just a guess, but the WAIT WINDOWs might be interfering with the event sequencing. You might want to run the test using DEBUG OUT or something similar.

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform