Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refresh grid
Message
From
16/09/2005 22:43:11
Aaron K. Y. Chu
Health & Care Co. Ltd.
Hong Kong, Hong Kong
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
01050226
Message ID:
01050542
Views:
13
Dear Moises,

It is not good to put in activate event, since the refresh will be running every time in the control's being activated... it may mean a lot of load on the system...

You should see when the need to refresh came, append a record? if so, why not in the command button's click event?! if it is a record gathering, why not add a custom method in the form & refresh the grid after getting the records?! if it is a timer event, why not in timer's refresh event?!

I do have trouble on activate events, especially you have some client machine not in good conditions... and it'll keep you awake all night...
Best regards,

Aaron Chu

********************************************************

Working with Visual FoxPro is a lot of FUN!

********************************************************
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform