>>>>I closed ALL other windows (including the command and others) and it still happens that way.
>>>
>>>it is the Form's PAINT that reset the editbox's SelStart.
>>>
>>>Try to scroll the grid with MouseWheel,scroller ...
>>>
>>>With Sparse = .T. it don't happen.
>>>
>>>It is a bug for me.
>>
>>Definitely. And even weirder - I added a parameter to my column class (.prg based) to not kill the original .text1, unbound the column, set the .text1.controlsource="=(alltrim(alias.memofield))", and now I'm getting blanks outside the current cell, and in the current cell it types blanks whatever I type in the editbox, but when I come back to the cell, what I typed is actually there.
>>
>>Well, still not too late to just rearrange the table and have just character fields instead of the memos... but I'll surely be on the watch for this behavior, if I ever happen to need an editbox in the grid.
>
>Of course, a workaround exists:
>- add two editboxes to the column: EBEdit and EBShow
>- on the active row, set CurrentControl="EB1" ( uses DynamicCurrentControl ... )
>
>But, it is not so simple as it appears.
You mean the inactive current control should be a readonly editbox? I can try that, no problem.