Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Editbox in grid refresh problem - vfp 8.0
Message
De
27/01/2004 17:29:53
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00870675
Message ID:
00871157
Vues:
13
Hi Nancy

Since grids don't refresh automatically, there must be something 'strange' going on. Are yout grid and all its elements based on baseclasses? Do you have any ActiveX control active?

You could disable the grid's refresh while you were editing in the editbox, and enable it again afterwards, but it is an ugly solution. It's a little like giving the patient pills to ease the pain in stead of curing the cause of the pain. You always risk side effects.

>hi terry,
>
>actually i don't have a timer and i am not knowingly refreshing the grid. it seems to refresh by itself. "set refresh to 3600" does not seem to have any effect on this.
>
>thnx,
>
>nancy
>
>>>i have a grid containing several columns including one that has an editbox. everything works beautifully except around two minutes when the grid refreshes, the cursor automatically goes to the front of the edit box. this is a real pain especially if you are typing in the field when the refresh occurs.
>>>
>>>i cannot figure out how to prevent this from happening. else, is there a way to temporarily prevent the grid from refreshing at the two minute mark?
>>>
>>>thanks,
>>>
>>>nancy
>>
>>Just to follow up Tore - a best practice may be not to refresh the grid unless underlying data has been changed.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform