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.