Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What exactly does THISFORM.Refresh Refresh?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01289119
Message ID:
01289747
Vues:
16
Don,

>Thanks Sergey. Like I said I hadn't tested it. But it seemed logical. And as Naomi points out, I guess I can't conceive of an inactive control except on an inactive page. Although I suppose a control could be made inactive programmatically even if it was visible. But I may be wrong there too. So thanks Naomi also.

You can look it in a different way, is not the form that does not refresh an inactive page of the pageframe, but it is the pageframe itself that chooses not to refresh all of it's pages but only the active one. The form just loops thru its controls calling the control's refresh, which if they are themself a "container class" (not an instance of class "container" but in general, like pageframes, containers, forms in the case of the formset, etc) then it will do recursively the same, calling the refresh of all it's controls, thus the pageframe is able, and chooses so, to not call the refresh of the inactive pages.
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform