Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What exactly does THISFORM.Refresh Refresh?
Message
 
To
05/02/2008 12:40:24
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01289119
Message ID:
01289747
Views:
15
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform