Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Messagebox in Page.activate appears too soon?
Message
De
08/11/1999 15:03:10
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Messagebox in Page.activate appears too soon?
Divers
Thread ID:
00288628
Message ID:
00288628
Vues:
64
I have a form containing a pageframe with three pages. Page2 has code in the Activate method which calculates values for three text boxes, refreshes the page (THIS.REFRESH), and then displays a messagebox if one of the calculated values is larger than another. The problem is that the messagebox appears before the page is fully displayed: Behind the messagebox you can see that some of the objects of page2 have appeared, but the previous page is still visible behind them, and its tab is still in front. Once the messagebox is closed, page2 appears completely. I tried moving the messagebox part into the refresh method instead, and now it appears before page2 starts displaying at all.

I'm afraid this is going to turn out to be a really dumb question, but, for some reason, I just can't figure it out this morning: How do I get the messagebox to appear AFTER page2 is displayed, but BEFORE focus moves to the first object on the page?

TIA!
Bridget K. Dawes
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform