Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Activate/Deactivate Sequence?
Message
De
30/08/1999 11:25:28
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Activate/Deactivate Sequence?
Divers
Thread ID:
00259192
Message ID:
00259192
Vues:
67
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?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform