>>>>>How about disabling the timer in textbox.GotFocus and enabling it back in LostFocus ?
>>>>
>>>>I wish I could, but that form is a primary form of about 10 forms that are always up and visible and active. That textbox is a key control that should always have focus if the user is not typing in another control on another form. Focus is always on that control and if I do that, the timer will never run on my form.
>>>
>>>You can also try to remember the current SetLength of the textbox and try to restore it.
>>
>>I did :( to no avail. that is already being done in the gotfocus of that textbox. I set a form prop on my form (plRefreshing) that when .t. I return false from the when of the grids and the nodefault in the click, dblclick, and activate, and gotfocus of my form (and everyplace on the grids I could think of) but focus still jumps off of the textbox on the other form and back again.
>
>I'm just thinking - may be we can put grids into container and then instead of refreshing the grids, refresh this container?
Thanks. I'll try it....
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"