page(3form)


NAME

   form_page - set and get form page number

SYNOPSIS

   #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);

DESCRIPTION

   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.

RETURN VALUE

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

   E_OK The routine succeeded.

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

   E_BAD_STATE
        Routine was called from an initialization or termination function.

   E_INVALID_FIELD
        Contents of a field are not valid.

   E_REQUEST_DENIED
        The form driver could not process the request.

   E_SYSTEM_ERROR
        System error occurred (see errno).

SEE ALSO

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

NOTES

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

PORTABILITY

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

AUTHORS

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

                                                               page(3FORM)


More Linux Commands

manpages/XkbSARedirectSetVModsMask.3.html
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

manpages/configFileLoad.3.html
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

manpages/dcngettext.3.html
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

manpages/fpit.4.html
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

manpages/zero.4.html
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

manpages/Tcl_SetTimer.3.html
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

manpages/Tk_FreeColorFromObj.3.html
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

manpages/smbspool.8.html
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

manpages/gluScaleImage.3gl.html
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

manpages/window.3ncurses.html
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

manpages/passwd.1ssl.html
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

manpages/snmp_close.3.html
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.