Form Definition and Processing

  #include <vv_form.h>
   
FORMPTR curfmp ( )

Returns a pointer to the current form

int fm_convert (DFORMPTR dfmp)

Converts the data entered into the form and updates all data variables

DFORMPTR fm_def (int rb, int cb, int rowq, int colq, UCHAR att, BORDERPTR bdrp)

Allocates and initializes a data form structure

void fm_dn (DFORMPTR dfmp)

Removes the form from the screen

void fm_free (DFORMPTR dfmp)

Frees the memory associated with the data form structure

long fm_isaltered (FORMPTR fmp)

Determines if the form has been altered

long fm_isup (FORMPTR fmp)

Determines if the form is displayed on the screen

long fm_isvalidated (DFORMPTR dfmp)

Determines if the data form has been validated

FORMPTR fm_namptr (UCHAR *name_stp)

Returns a pointer to the form with the specified name

int fm_nextitem (FORMPTR fmp)

Returns the next item number or next action code

int fm_proc (int start_item, DFORMPTR dfmp)

Displays the data form, passes control to the user for data-entry, collects the entered data, and removes the form from the screen

UCHAR * fm_ptrnam (FORMPTR fmp)

Returns the name of the form

int fm_rd (int start_item, DFORMPTR dfmp)

Passes control to the user for data-entry

int fm_ready (DFORMPTR dfmp)

Gets a form (whose form items have already been defined) ready to be processed

void fm_unready (FORMPTR fmp)

Gets a data or menu form (whose items have already been defined) unready so that more fields can be added

int fm_up (DFORMPTR dfmp)

Displays the form on the screen

void fm_upd (DFORMPTR dfmp)

Updates all fields and background items on the form

void fm_updbg (FORMPTR fmp)

Updates the background text, boxes, and lines on the form

void fm_updflds (DFORMPTR dfmp)

Updates all fields for a data form that is already displayed on the screen

DFORMPTR fm_vdef (int rb, int cb, int rowq, int colq, UCHAR att, BORDERPTR bdrp, int vf_rowq, int vf_colq)

Allocates and initializes a form structure for a virtual form



Home Contents Previous Next