form_page - Online Linux Manual PageSection : 3X
Updated :
NAMEform_page − set and get form page number
SYNOPSIS#include <form.h> int set_current_field(FORM *form, FIELD *field);
FIELD *current_field(const FORM *form); int unfocus_current_field(FORM *form); int set_form_page(FORM *form, int n);
int form_page(const FORM *form); int field_index(const FIELD *field);
DESCRIPTIONThe function set_current_field sets the current field of the given form; current_field returns the current field of the given form. The function unfocus_current_field removes the focus from the current field of the form. In such state, inquiries via current_field shall return a NULL pointer. 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 VALUEExcept 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(3)).
SEE ALSOcurses(3X), form(3X).
NOTESThe header file <form.h> automatically includes the header file <curses.h>.
PORTABILITYThese routines emulate the System V forms library. They were not supported on Version 7 or BSD versions. The unfocus_current_field function is an ncurses extension.
AUTHORSJuergen Pfeifer. Manual pages and adaptation for new curses by Eric S. Raymond. 0
Johanes Gumabo
Data Size : 10,038 byte
man-current_field.3xBuild : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 3 / 193,292
Visitor ID : :
Visitor IP : 3.15.2.239 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.