Hi,
this is a really strange behaviour within these controls.
Take a "new" control with decimal formatting reading "0.00".
Now the user clicks within the control and wants to enter a 1. The control adds a 1 which makes indeed a 10.
The the user clicks on the next control...
Is this really correct?
Hi Frank,
It sounds like you want all of the text to be selected when the user clicks on the control, instead of placing the cursor at the point they clicked.
If that's the case, try handling the Enter event of the control and calling SelectAll.
Yes, that's the way it should work. I hope we have an inherited control, to make the implementation easy.
There is definitively no standard setting for this? I mean, the behaviour is windows standard, or?
Thanks,
Frank
No, there's no property for this.
The Windows standard is to do what a TextBox does.
When you tab into a TextBox, it restores the previous selection that it had the last time it had focus. Or, if it never had focus, it selects all of the text.
When you click on a TextBox, it puts the cursor where you clicked.
Thank Mike!