form_page - set and get form page number


   #include <form.h>
   int set_current_field(FORM *form, FIELD *field);
   FIELD *current_field(const FORM *);
   int set_form_page(FORM *form, int n);
   int form_page(const FORM *form);
   int field_index(const FIELD *field);


   The  function  set_current  field  sets  the current field of the given
   form; current_field returns the current field of the given form.

   The function set_form_page sets the form's page number (goes to page  n
   of the form).

   The function form_page returns the form's current page number.

   The  function  field_index  returns the index of the field in the field
   array of the form it is connected to. It returns ERR if the argument is
   the null pointer or the field is not connected.


   Except for form_page, each routine returns one of the following:

   E_OK The routine succeeded.

        Routine detected an incorrect or out-of-range argument.

        Routine was called from an initialization or termination function.

        Contents of a field are not valid.

        The form driver could not process the request.

        System error occurred (see errno).


   ncurses(3NCURSES), form(3FORM).


   The  header  file  <form.h>  automatically  includes  the  header  file


   These routines emulate the System  V  forms  library.   They  were  not
   supported on Version 7 or BSD versions.


   Juergen Pfeifer.  Manual pages and adaptation for new curses by Eric S.


More Linux Commands

XkbSARedirectSetVModsMask(3) - Sets the vmods_mask0 and vmod
XkbSARedirectSetVModsMask.3 - Actions associated with the XkbRedirectKeyAction structure generate KeyPress and KeyRelease events containing a keycode different

configFileLoad(3) parse a configuration file (Man Page).....
This routine will load a named configuration file and parse the text as a hierarchically valued option. The option descriptor created from an option definition

dcngettext(3) - translate message and choose plural form....
The ngettext, dngettext and dcngettext functions attempt to translate a text string into the users native language, by looking up the appropriate plural form of

fpit(4) - Fujitsu Stylistic input driver - Linux man page...
fpit is an Xorg input driver for Fujitsu Stylistic Tablet PCs. The fpit driver functions as a pointer input device, and may be used as the X servers core pointe

zero(4) - data sink (Special files - Linux man page)........
Data written to a null or zero special file is discarded. Reads from the null special file always return end of file (i.e., read(2) returns 0), whereas reads fr

Tcl_SetTimer(3) - the event queue and notifier interfaces...
The interfaces described here are used to customize the Tcl event loop. The two most common customizations are to add new sources of events and to merge Tcls ev

Tk_FreeColorFromObj(3) - maintain database of colors........
These procedures manage the colors being used by a Tk application. They allow colors to be shared whenever possible, so that colormap space is preserved, and th

smbspool(8) - send a print file to an SMB printer (ManPage)
This tool is part of the samba(7) suite. smbspool is a very small print spooling program that sends a print file to an SMB printer. The command-line arguments a

gluScaleImage(3gl) - scale an image to an arbitrary size....
gluScaleImage scales a pixel image using the appropriate pixel store modes to unpack data from the source image and pack data into the destination image. When s

window(3ncurses) - create curses windows - Linux man page...
Calling newwin creates and returns a pointer to a new window with the given number of lines and columns. The upper left-hand corner of the window is at line beg

passwd(1ssl) - compute password hashes - Linux manual page
The passwd command computes the hash of a password typed at run-time or the hash of each password in a list. The password list is taken from the named file for

snmp_close(3) - netsnmp_session_api functions (Man Page)....
Snmp_sess_init prepares a netsnmp_session that sources transport characteristics and common information that will be used for a set of SNMP transactions. After

We can't live, work or learn in freedom unless the software we use is free.