Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling Form's Refresh from Init
Message
 
 
To
25/01/2002 08:41:23
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00609928
Message ID:
00610475
Views:
13
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform