Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ form_field(3X) — Dell System V Release 4 Issue 2.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

curses(3X)

forms(3X)



form_field(3X)                   UNIX System V                   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:
      E_OK           - The function returned successfully.
      E_CONNECTED    - The field is already connected to a form.
      E_SYSTEM_ERROR - System error.
      E_BAD_ARGUMENT - An argument is incorrect.
      E_POSTED       - 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)












10/89                                                                    Page 1





Typewritten Software • bear@typewritten.org • Edmonds, WA 98026