Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pageframe Page Activate vs. Click methods
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Pageframe Page Activate vs. Click methods
Miscellaneous
Thread ID:
01661937
Message ID:
01661937
Views:
75
Hi,

(If you saw my previous thread about textbox Refresh method, you will understand why I am asking this question).

I have a fairly complicated form with a Pageframe that has 7 pages. When a user changes from Page to Page, I want enable/disable some controls. And I do all in the Page# Activate method. The problem is that with this approach any time the form goes into focus, all controls on the form fire Refresh method. So, I am thinking of moving the code from Page# Activate method to Page Click method. On the surface I don't see any problems with this approach. But, I am wondering, in which cases would you actually use the Activate Page method? Any practical example?

TIA
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Next
Reply
Map
View

Click here to load this message in the networking platform