Barbara, Jim and Arnon,
The trick seems to be to both Pageframe activate the Page and and Page.Setfocus(). It works like a charm, both from the Button.click _and_ from the page(tab).activate().
Mind you, there are only labels on my page2. And I thought set focus is only for input ... :)
Regards, and thank you for caring.
Marc
>Hi,
>
>My pageframe has two pages, one that lets the user choose reports to be printed and the a second with information that has to be computed. The problem is that it takes some time to compute the information on page 2. The question is how do I (1) activate page 2 _before_ I start the computation, (2) do the computation and (3) display the computation, all with only one click of the user.
>
>I've tried
>(1) ...Page2.activate
>(2) a Compute button click that ...ActivePage=2.
>
>In both I refresh the screen and the page (unlock and lockscreen), but the screen is frozen on page 1 until my computation is finished.
>
>Help...
>
>Marc
If things have the tendency to go your way, do not worry. It won't last. Jules Renard.