Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refreshing Containers/Forms
Message
 
 
À
25/05/2001 10:44:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00511512
Message ID:
00511538
Vues:
19
>Cetin
>
>They definately refresh, I have put a trace on it.
>
>Kev

Kev,
As Vlad was explaining, there is a difference in the Refresh method being called and the control actually getting refreshed.

By default, the only thing Refresh does is read the value of the ControlSource into the Value property of the control. Issuing NODEFAULT prevents this from happening and this is also not done if the control is not Visible.

However, the Refresh method is called no matter what. So if you have extra code there (which many developers do), you need to use another flag to determine if the code should run.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform