This is a migrated thread and some comments may be shown as answers.

How you can position cursor at the beginning when clicked on RadMaskedTextBox?

1 Answer 234 Views
TextBox
This is a migrated thread and some comments may be shown as answers.
Matjaž Kofol
Top achievements
Rank 2
Matjaž Kofol asked on 22 Dec 2010, 10:44 PM
I want, when RadMaskedTextBox is clicked to position cursor at the beginning.
Right not it is at the end of my decimal number so I can not type my number but need to do one more click to go to the begining (left) and then typing value...

I tried this, but didn't help me.

myNumber.SelectionStart = 0;

Regards
Matjaž

1 Answer, 1 is accepted

Sort by
0
Dobry Zranchev
Telerik team
answered on 27 Dec 2010, 04:50 PM
Hello Matjaž Kofol,

Thank you for writing. You have to set also the property SelectionLength to be equal to 0. If you have further questions, feel free to contact me.

Best wishes,
Dobry Zranchev
the Telerik team
Q3’10 SP1 of RadControls for WinForms is available for download; also available is the Q1'11 Roadmap for Telerik Windows Forms controls.
Tags
TextBox
Asked by
Matjaž Kofol
Top achievements
Rank 2
Answers by
Dobry Zranchev
Telerik team
Share this question
or