Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pageframe Page Activate vs. Click methods
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Pageframe Page Activate vs. Click methods
Divers
Thread ID:
01661937
Message ID:
01661937
Vues:
77
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform