>I have a grid with a column of baseclass textbox. I would like
>to see the entry in the textbox to be selected when user clicks in
>this column. The property SelectOnEntry of the textbox is set to .T.. But no matter what I do, it does not work.
>
>Here is what I tried so far. I put the following code in the GotFocus of the textbox:
>
>
>textbox::GotFocus
>NODEFAULT
>
>
>The above code work for a textbox that is not in a grid but does
>not seem to work in a grid.
>
>Any suggestions?
>
>Thank you.
In the Click event:
this.selstart=0
this.sellength=this.maxlength