Programming Guide |
Backtabs to the previous unprotected field
void sm_backtab(void);
sm_backtab
moves the cursor to the first enterable position of the field with the next-lowest field number that is tab-accessible. The following conditions can modify this behavior:
- The cursor is not in the current field's first enterable position and the field is left-justified. In this case,
sm_backtab
moves the cursor to the current field's first enterable position.
- There are no unprotected fields. The cursor remains stationary.
If the destination field is shiftable, it is reset according to its justification. The first enterable position depends on the justification of the field and, in fields with embedded punctuation, on the presence of punctuation.
This function does not immediately trigger field entry, exit, or validation processing. This processing occurs according to the cursor position when control returns to sm_input.
Panther calls this function when the Panther logical key BACK is struck.
sm_home, sm_last, sm_nl, sm_tab