Programming Guide



sm_tab

Moves the cursor to the next unprotected field

void sm_tab(void);

Description

sm_tab moves the cursor to first enterable position in the next tab-accessible field on the screen. If the cursor is in a field with a next-field property and one of the fields specified by the property is tab-accessible, the cursor moves to that field's first enterable position. This function is normally bound to the TAB key.

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

Example

#include <smkeys.h>

/* This moves the cursor to the next field. */
sm_tab();

See Also

sm_backtab, sm_home, sm_last, sm_nl