maskEdBox auto tab behaves incorrectly

I have a control array made of a maskEdBox. The auto tab behaves as expected for lower case letters in a single value entry field, but as soon as you hold the shift key the tab goes backwards. Is this a Microsoft Bug?
Brandon_CampbellSenior Systems AnalystAsked:
Who is Participating?
 
Éric MoreauSenior .Net ConsultantCommented:
>>If the user were to hold the shift key and select "N" while the shift key is depressed then its normal for the autotab to go backwards?

yes because a "SendKeys TAB" is sent by the MaskTextBox and the SHIFT is pressed so a backtab is interpreted
0
 
Éric MoreauSenior .Net ConsultantCommented:
goes backward to the previous field? this is the normal behavior. check http://en.wikipedia.org/wiki/Table_of_keyboard_shortcuts
0
 
Brandon_CampbellSenior Systems AnalystAuthor Commented:
The masked control has a mask of >A. If the user were to hold the shift key and select "N" while the shift key is depressed then its normal for the autotab to go backwards? If this is the case then I will have to code the caps lock and unlock depending on the field.
0
 
Brandon_CampbellSenior Systems AnalystAuthor Commented:
This is a bad behavior for the control. My customer has a entry field that requires a "+" key to be entered in certain situations. Of course this send ths control back if they use the shift+"+" key. I have included in the lost focus event a setfocus to the next control in this situation but this is not the best work around. I could instruct the users to only use the numberpad "+" which works correctly. I will also key the comments and text fields to turn off caps lock on got focuse and return on lost focus.

Thank you.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.