this.SelStart = 0
this.SelLength = len(transform(this.Value))
nodefault
in the MouseUp method should do that. The downside is that you overwrite the standard behavior of the mouse, i.e. won't be able to position the cursor with the mouse.
>VFP 7,8, (and 9).
>
>In a form I have set the format ($R), imput mask (99,999.00), initial value (0.00). and set select on entry property to true.
>
>Currently text is selected (highlighted)
only if I tab into the box (and contents are replaced when as soon I start typing in a new value). If I click on the text box the text is
not highlighted and is current contents are displayed untill I leave the text box. How do I get clicking (and/or double clicking) the the text box to act the same as when I tab to it. I thought I could use
use
this.selectonentry=.T.
but it does not appear to be a valid setting.
>
>Any suggestions appreciated.
Doru