Programming Guide


Positions the cursor in the last field

void sm_last(void);


sm_last places the cursor at the first enterable position of the last tab-accessible field of the current screen. The first enterable position depends on the justification of the field and, in fields with embedded punctuation, on the presence of punctuation.

Unlike sm_home, sm_last does not reposition the cursor if all fields are tab-protected.

This function does not immediately trigger field entry, exit, or validation processing. Such processing depends on the cursor position when control returns to sm_input.

This function is called when the Panther logical key EMOH is struck.

See Also

sm_backtab, sm_home, sm_nl, sm_tab