Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Messagebox in Page.activate appears too soon?
Message
From
08/11/1999 15:03:10
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Messagebox in Page.activate appears too soon?
Miscellaneous
Thread ID:
00288628
Message ID:
00288628
Views:
65
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
Next
Reply
Map
View

Click here to load this message in the networking platform