Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I hate activate
Message
From
05/02/1999 17:06:30
 
 
To
02/02/1999 17:47:52
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00183195
Message ID:
00184538
Views:
20
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
Previous
Reply
Map
View

Click here to load this message in the networking platform