Hi Borisalv, thanks for your reply.
Why the Nodefault ?
I will be including this in a base class or subclasing it , which has some other code
So I will prpbably do following:
Dodefault()
If This.SelectOnEntry
Textbox::GotFocus()
Endif
Will this do the same thing ?
Regards,
Gerard
>>Hi.
>>For numeric fields, I have set the Select On Entry property to true which manes when you tab to the field, anf type in a number, it just replaces the number thats already there... that works fine.
>>
>>If however the user mouse clicks on the field, say the value there is 1234.56 , and they happen to position the mouse beside the 5, they start entering the number ,it starts at the 5, rather than allowing a complete number to be re-entered. This is very annoying and leaves a lot of room for error ...
>>
>>Is there any way to get the Select On Entry effect, having selected the field with the mouse.
>>
>>Regards,
>>Gerard
>
>Put in GotFocus Event of the textBox:
>
>IF this.SelectOnEntry
> NODEFAULT
> TextBox::GotFocus()
>ENDIF
>