Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid not displaying data after timer firing
Message
 
 
To
29/06/2002 03:51:42
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00673566
Message ID:
00673658
Views:
23
Doug,

Are you sure you have this.enabled = .f. at the top of the timer method, then this.enabled = .t. at the end?

>Hi Garrett,
>
>The timer event calls a Form Method (to re populate the grids base table. I found by refreshing the grid during the Form Method, everything was OK, however refreshing the grid during the timer event did not work.
>
>Regards
>Doug Johnston
>
>>>The timer control refreshes the data in the grid every
>>>3 minutes. When the timer fires, the grid goes blank
>>>(grid lines etc are still there, this is not a loss of
>>>control source problem), but the only way I can get the
>>>grid to actually display anything is via a key press. This
>>>can be any key (Delete, Insert etc).
>>
>>I haven't seen this problem exactly, but is this a buffered table, and is someone else entering data into the same table?
>>
>>Also, have you tried a DOEVENTS or INKEY(.01) instead of the keypress?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform