Lines Matching full:form
34 #include "form.priv.h"
40 | Function : int set_form_page(FORM * form,int page)
42 | Description : Set the page number of the form.
45 | E_BAD_ARGUMENT - invalid form pointer or page number
51 set_form_page(FORM *form, int page) in FORM_EXPORT()
55 T((T_CALLED("set_form_page(%p,%d)"), (void *)form, page)); in FORM_EXPORT()
57 if (!form || (page < 0) || (page >= form->maxpage)) in FORM_EXPORT()
60 if (!(form->status & _POSTED)) in FORM_EXPORT()
62 form->curpage = (short)page; in FORM_EXPORT()
63 form->current = _nc_First_Active_Field(form); in FORM_EXPORT()
67 if (form->status & _IN_DRIVER) in FORM_EXPORT()
71 if (form->curpage != page) in FORM_EXPORT()
73 if (!_nc_Internal_Validation(form)) in FORM_EXPORT()
77 Call_Hook(form, fieldterm); in FORM_EXPORT()
78 Call_Hook(form, formterm); in FORM_EXPORT()
79 err = _nc_Set_Form_Page(form, page, (FIELD *)0); in FORM_EXPORT()
80 Call_Hook(form, forminit); in FORM_EXPORT()
81 Call_Hook(form, fieldinit); in FORM_EXPORT()
82 _nc_Refresh_Current_Field(form); in FORM_EXPORT()
92 | Function : int form_page(const FORM * form)
94 | Description : Return the current page of the form.
97 | -1 : invalid form pointer
100 form_page(const FORM *form) in form_page() argument
102 T((T_CALLED("form_page(%p)"), (const void *)form)); in form_page()
104 returnCode(Normalize_Form(form)->curpage); in form_page()