4 \fBform_field\fR - make and break connections between fields and forms
6 \fB#include <form.h>\fR
8 int set_form_fields(FORM *form, FIELD **fields);
10 FIELD **form_fields(const FORM *form);
12 int field_count(const FORM *form);
14 int move_field(FIELD *field, int frow, int fcol);
17 The function \fBset_form_fields\fR changes the field pointer array of
18 the given \fIform\fR. The array must be terminated by a \fBNULL\fR.
20 The function \fBform_fields\fR returns the field array of the given form.
22 The function \fBfield_count\fR returns the count of fields in \fIform\fR.
24 The function \fBmove_field\fR move the given field (which must be disconnected)
25 to a specified location on the screen.
27 The function \fBform_fields\fR returns \fBNULL\fR on error.
29 The function \fBfield_count\fR returns \fBERR\fR (the general
30 \fBcurses\fR error return value) on error.
32 The functions \fBset_form_fields\fR and \fBmove_field\fR return one of
33 the following codes on error:
36 The routine succeeded.
39 System error occurred (see \fBerrno\fR).
42 Routine detected an incorrect or out-of-range argument.
45 The form is already posted.
48 The field is already connected to a form.
50 \fBcurses\fR(3X), \fBform\fR(3X).
52 The header file \fB<form.h>\fR automatically includes the header file
55 These routines emulate the System V forms library. They were not supported on
56 Version 7 or BSD versions.
58 The SVr4 forms library documentation specifies the \fBfield_count\fR error value
59 as -1 (which is the value of \fBERR\fR).
61 Juergen Pfeifer. Manual pages and adaptation for new curses by Eric
64 .\"# The following sets edit modes for GNU EMACS