Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tip of the Day --- Pageframe and Page Refreshing
Message
De
02/12/1999 14:58:42
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00297873
Message ID:
00298105
Vues:
38
Hi Jeff,

>1) Objects on non-active pages do not get refreshed when the forms' refresh method is executed.

True.

>2) Non-active pages DO get refreshed, but not their objects.

False. I don't think the Page's themselves are refreshed unless active.

>3) If the form is refreshed, then the non-active pages' refresh method will be called.

False, and there lies the crux of the problem.

>I have an application that contains forms with pages. I have included the "This.Refresh()" call in the activate method of each page. All of the fields on the form are disabled until in "edit" mode. But, when a non-active page is activated, the current object values are not reflected properly.

This is precisely why I posted the message :-)
Get rid of the Refreshes in the Page Activates and put my code in the PageFrame refresh.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform