Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling Form's Refresh from Init
Message
 
 
À
25/01/2002 08:41:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00609928
Message ID:
00610475
Vues:
15
>Hi Nadya
>
>>Thanks, it's important. Yes, we have several forms with lots of objects, so perfomance suffers...
>
>Then you should definitely delete it. You are absolutely right, it is not needed in the Init and if your colleague continues to doubt, ask her just to comment it out and try the form (this is not hard to illustrate).
>
>In fact you could even demonstrate how much time it saves by wrapping the thing like this:
>
>
>lnStart = SECONDS()
>< set filter >
>LOCATE
>ThisForm.Refresh()
>lnEnd = SECONDS()
>ACTIVATE SCREEN
>? STR( lnEnd - lnStart, 8, 4 )
>
>
>Run it with and without the Refresh commented out and see what the impact is (that ought to convince her).

Thanks, I'll do that.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform