page


HOME

page

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO
NOTES
PORTABILITY
AUTHORS

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.




More Linux Commands

manpages/XkbKeycodeToKeysym.3.html
XkbKeycodeToKeysym(3) - Finds the keysym bound to a particul
XkbKeycodeToKeysym returns the keysym bound to a particular group and shift level for a particular key on the core keyboard. If kc is not a legal keycode for th

manpages/XStoreName.3.html
XStoreName(3) - set or read a window's WM_NAME property.....
The XSetWMName convenience function calls XSetTextProperty to set the WM_NAME property. The XGetWMName convenience function calls XGetTextProperty to obtain the

manpages/XtInstallAllAccelerators.3.html
XtInstallAllAccelerators(3) - managing accelerator tables...
The XtParseAcceleratorTable function compiles the accelerator table into the opaque internal representation. The XtInstallAccelerators function installs the acc

manpages/extensions.3ncurses.html
extensions(3ncurses) - miscellaneous curses extensions......
These functions are extensions to the curses library which do not fit easily into other categories. Use curses_version() to get the version number, including pa

manpages/grmid.1.html
grmid(1) - - RMI activation system daemon - Linux man page
rmiregistry starts a remote object registry on the current host. If no port number is specified, then port 1099 is used. OPTIONS Activation process control: -po

manpages/sincosf.3.html
sincosf(3) - calculate sin and cos simultaneously (ManPage)
Several applications need sine and cosine of the same angle x. This function computes both at the same time, and stores the results in *sin and *cos. If x is a

manpages/pspell-config.1.html
pspell-config(1) - prints information about a libpspell inst
pspell-config displays information about libpspell installation, mostly for use in build scripts. Note that this script is provided for backward compatibility w

manpages/pnmhistmap.1.html
pnmhistmap(1) - draw a histogram for a PGM or PPM file......
This program is part of Netpbm(1) pnmhistmap reads a PNM image as input and produces an image showing a histogram of the color (or gray) values in the input. A

manpages/glRecti.3gl.html
glRecti(3gl) - draw a rectangle (Library - Linux man page)
glRect supports efficient specification of rectangles as two corner points. Each rectangle command takes four arguments, organized either as two consecutive pai

manpages/glColor3usv.3gl.html
glColor3usv(3gl) - set the current color - Linux man page...
The GL stores both a current single-valued color index and a current four-valued RGBA color. glColor sets a new four-valued RGBA color. glColor has two major va

manpages/sudo.8.html
sudo(8) - execute a command as another user - Linux man page
sudo allows a permitted user to execute a command as the superuser or another user, as specified by the security policy. sudo supports a plugin architecture for

manpages/fusermount.1.html
fusermount(1) mount and unmount FUSE filesystems (Man Page)
fusermount.1 - Filesystem in Userspace (FUSE) is a simple interface for userspace programs to export a virtual filesystem to the Linux kernel. It also aims to p





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