Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I hate activate
Message
 
To
02/02/1999 17:47:52
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00183195
Message ID:
00183201
Views:
19
>Hi,
>
>Anyone have a good idea for preventing a page Activate event from happening EXCEPT when actually activated by the user by clicking or tabbing to the page? What I need is an UIEnable event for a page - not sure why it's not there for pages - seems like a critical ommision to me.
>
>Problem is that the activate fires whenever a dialog (or other windows program) is brought up and then user returns to my form, and I don't want it to. I've considered some sort of flag property on the form or an invisible object placed on the page in which I just use its UIENable. Anyone have a better idea?
>
>Ken

Ken, you can't prevent Activate event from happening (that's what events are for :)
I have one form where I run the code in Activate conditionally, based on the form flag property and invisible control takes care of it.

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform