Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Activate/Deactivate Sequence?
Message
From
30/08/1999 11:25:28
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Activate/Deactivate Sequence?
Miscellaneous
Thread ID:
00259192
Message ID:
00259192
Views:
66
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?
Next
Reply
Map
View

Click here to load this message in the networking platform