Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I hate activate
Message
 
À
02/02/1999 17:47:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00183195
Message ID:
00183201
Vues:
18
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform