Home | History | Annotate | Download | only in libform

Lines Matching defs:field

40 extern FIELD _formi_default_field;
45 FALSE, /* make field list circular if true */
56 current field changes */
58 before current field changes */
60 0, /* current field */
65 {NULL, NULL}, /* sorted field list */
302 set_form_fields(FORM *form, FIELD **fields)
340 /* set the page number of the field */
362 FIELD **
384 * Move the given field to the row and column given.
387 move_field(FIELD *fptr, int frow, int fcol)
389 FIELD *field = (fptr == NULL) ? &_formi_default_field : fptr;
391 if (field->parent != NULL)
394 field->form_row = frow;
395 field->form_col = fcol;
444 * Set the current field to the field given.
447 set_current_field(FORM *form, FIELD *field)
455 if (field == NULL)
458 if ((field->parent == NULL) || (field->parent != form))
459 return E_INVALID_FIELD; /* field is not of this form */
461 form->cur_field = field->index;
468 * Return the current field of the given form.
470 FIELD *
486 new_form(FIELD **fields)
502 free(new); /* field attach failed, back out */
536 * Tell if the current field of the form has offscreen data ahead
541 FIELD *cur;
557 * Tell if current field of the form has offscreen data behind
562 FIELD *cur;
582 FIELD *cur;
596 /* if the field is public then show the cursor pos */