form_field(3X) DG/UX 5.4R3.00 form_field(3X)
NAME
formfield: setformfields, formfields, fieldcount, movefield -
connect fields to forms
SYNOPSIS
#include <form.h>
int setformfields(FORM *form, FIELD **field);
FIELD **formfields(FORM *form);
int fieldcount(FORM *form);
int movefield(FIELD *field, int frow, int fcol);
DESCRIPTION
setformfields changes the fields connected to form to fields. The
original fields are disconnected.
formfields returns a pointer to the field pointer array connected to
form.
fieldcount returns the number of fields connected to form.
movefield moves the disconnected field to the location frow, fcol in
the forms subwindow.
RETURN VALUE
formfields returns NULL on error.
fieldcount returns -1 on error.
setformfields and movefield return one of the following:
EOK - The function returned successfully.
ECONNECTED - The field is already connected to a form.
ESYSTEMERROR - System error.
EBADARGUMENT - An argument is incorrect.
EPOSTED - The form is posted.
NOTES
The header file <form.h> automatically includes the header files
<eti.h> and <curses.h>.
SEE ALSO
curses(3X), forms(3X).
Licensed material--property of copyright holder(s) 1