I have searched on this and I am now tired!
So I have a state field. When the user types in the state with capital letters, the cursor jumps to the previous field. "HOLY COW" I say. After hours of screwing with this I discover that the issue does not come from the transform to caps field rule or the code that I placed that checks the state value against the cstates("a"+crlf()) list, but comes from the data entry field rule 'auto advance after field filled' being checked. Well, gosh why would that be?? A BUG surely.
NOPE! I figured out that the WINDOWS shortcut key Shift-Tab performes the move to previous field function.....so... the advance field rule in Alpha must just be sending a {TAB} at the time the user has the Shift key pressed to capitalize the state entry. Right?? NOPE! Why do I believe to know this:
would be firing the msgbox if the action of advance was to send a {tab} key while I am pressing the shift key, and it aint. The gray hairs are multiplying!!!
So what is the answer to getting the cursor to advance to the next field after the field value entered has reached the field size limit without using the advance after filling field rule? Or, does anyone know a way to disable the windows shift-tab shortcut key function? An example is attached for playing. Thanks
So I have a state field. When the user types in the state with capital letters, the cursor jumps to the previous field. "HOLY COW" I say. After hours of screwing with this I discover that the issue does not come from the transform to caps field rule or the code that I placed that checks the state value against the cstates("a"+crlf()) list, but comes from the data entry field rule 'auto advance after field filled' being checked. Well, gosh why would that be?? A BUG surely.
NOPE! I figured out that the WINDOWS shortcut key Shift-Tab performes the move to previous field function.....so... the advance field rule in Alpha must just be sending a {TAB} at the time the user has the Shift key pressed to capitalize the state entry. Right?? NOPE! Why do I believe to know this:
Code:
IF UPPER(a_user.key.value) = "{+TAB}" a_user.key.handled = .f. msgbox("shift tab pressed") END IF
So what is the answer to getting the cursor to advance to the next field after the field value entered has reached the field size limit without using the advance after filling field rule? Or, does anyone know a way to disable the windows shift-tab shortcut key function? An example is attached for playing. Thanks
Comment