Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid not displaying data after timer firing
Message
 
 
À
29/06/2002 03:51:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00673566
Message ID:
00673658
Vues:
24
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform