I have mask text box with masking in it like (___)
ie. fisrt character of textbox is bracket "(" when I'll use tab key
and cursor come to this text box cursor blink before masked
character like |( that but I want to set cursor blink after
braket like (|. Please suggest how can I do this functionality.
Thanks

VulpesRank #55 · 29.2K reputationPosted Sep 4, 2012, 7:31 AM EDT
First add the highlighted line to the form's constructor:
Now add the following method:
Areeb Quazi96 reputationPosted Sep 5, 2012, 1:29 AM EDT
Enter event is present in visual studion which works same like GotFocus
and line given by you worked for me only change I added 1st line..
Thanks alot...
maskedTextBox1.Focus();
maskedTextBox1.SelectionStart = 1;
VulpesRank #55 · 29.2K reputationPosted Sep 5, 2012, 2:17 AM EDT
http://msdn.microsoft.com/en-us/library/system.windows.forms.control.enter.aspx
However, never mind if it seems to be working OK :)