I've tried several properties. But Refresh has not been part of that. I'll give it a try/search.
> 1. Where you put code to set SelStart and SelLength properties of textbox?
grid.column.container.textbox.gotfocus
grid.column.container.textbox.click
> 2. Are you sure other methods do not reset focus to control? For example, refresh of container.
No, I'm not sure anymore :-)
> 3. How you want to get textbox selected? When you tab to it by 'Tab' key, should work ok just using SelectOnEntry property of textbox. When you want to select it just when mouse clicked, this requires some tricks because VFP events.
'Tab' is fine, 'Click' just nice to have.
Best Regards
-Tom
Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it.
Oh, and BTW: 010101100100011001010000011110000101001001101111011000110110101101110011