Next: , Previous: , Up: The curses form library   [Contents][Index]


5.6.1 Forms Overview

The form library provides terminal-independent facilities for composing form screens on character-cell terminals. The library includes: field routines, which create and modify form fields; and form routines, which group fields into forms, display forms on the screen, and handle interaction with the user.

5.6.2 Positioning a form window cursor

Procedure: pos-form-cursor form

The function pos-form-cursor restores the cursor to the position required for the forms driver to continue processing requests. This is useful after curses routines have been called to do screen-painting in response to a form operation.

It returns E_OK if the routine succeeded, E_BAD_ARGUMENT if the routine detected an incorrect or out-of-range argument, E_NOT_POSTED if the form has not been posted, or E_SYSTEM_ERROR if a system error occurred.