Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I hate activate
Message
De
05/02/1999 17:06:30
 
 
À
02/02/1999 17:47:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00183195
Message ID:
00184538
Vues:
19
Hi Ken ---

My $.02 :-)

Put the PageFrame in an invisible Container. Put code in the GotFocus of the container to check the ActivePage property of the PageFrame vs. a custom property containing the LastActivePage. If different, fire the code.


>
>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
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform