>Update: I think I was not saying it correctly. The Activate may not (I have to double check) by itself Refreshes the controls. But (in my case) the call thisform.Refresh() does it.
>
>But the question is still: why use Activate instead of Click()
Dmitry
Thisform.Refresh() will refresh the controls of the active pages (there may be more than one, if you have another pageframe inside the active page of a pageframe). For all the others, you'll have to explicitly This.Refresh() them.
This can be done in their Activate methods, or, as Christian pointed out, by cascading the Refresh() call down the pageframe hierarchy (this will work only if controls' values are already prepared, of course).
Why in Activate() instead of Click()? Because Click() will fire if you click inside the page and outside of any of its controls. So, your users might inadvertently issue a Refresh() simply by missing a control with the mouse.
----------------------------------
António Tavares Lopes