Hi Wim,
Try the following in the TextBox.Click() event:
this.selstart=0
this.sellength = len(this.text)
>Hi All,
>
>I've got a textbox in a grid with both inputmask 999,99 and format property K selected on gotfocus. Datasource is a numeric field. Also the SelectedOnEntry of the textbox is .T.
>
>When clicking on the textbox somewhere in the grid, the text is not selected. In my opinion it should. Has anyone had the same problem? and if so, is there a solution?
>
>Kind Regards,
kenweber
GCom2 Solutions
Microsoft Certified Professional