Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pageframe blues.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00047875
Message ID:
00047898
Vues:
23
>>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
>Marc,
>
>I would try something like this. IN the click of the button make page 2 the active page, then setfocus to an invisible button on that page. In the Invisible button's when put the code to do your calculation and refresh the page and return .F.

Jim, I tried almost exactly that, but couldn't get the tab to switch to the new page, even though the controls appeared. Strange.

Barbara
Barbara Paltiel, Paltiel Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform