Lines Matching refs:fields

143 	if ((form->fields == NULL) || (form->fields[0] == NULL))  in scale_form()
150 temp = form->fields[i]->form_row + form->fields[i]->rows; in scale_form()
152 temp = form->fields[i]->form_col + form->fields[i]->cols; in scale_form()
302 set_form_fields(FORM *form, FIELD **fields) in set_form_fields() argument
312 if (fields == NULL) in set_form_fields()
315 while (fields[num_fields] != NULL) { in set_form_fields()
316 if ((fields[num_fields]->parent != NULL) && in set_form_fields()
317 (fields[num_fields]->parent != form)) in set_form_fields()
323 if (form->fields != NULL) { in set_form_fields()
325 form->fields[i]->parent = NULL; in set_form_fields()
326 form->fields[i]->index = -1; in set_form_fields()
338 fields[i]->parent = form; in set_form_fields()
339 fields[i]->index = i; in set_form_fields()
341 if (fields[i]->page_break == 1) in set_form_fields()
343 fields[i]->page = maxpg; in set_form_fields()
346 form->fields = fields; in set_form_fields()
368 return form->fields; in form_fields()
476 if (form->fields == NULL) in current_field()
479 return form->fields[form->cur_field]; in current_field()
486 new_form(FIELD **fields) in new_form() argument
500 if (fields != NULL) { /* attach the fields, if any */ in new_form()
501 if (set_form_fields(new, fields) < 0) { in new_form()
526 form->fields[i]->parent = NULL; in free_form()
527 form->fields[i]->index = -1; in free_form()
543 if ((form == NULL) || (form->fields == NULL) in data_ahead()
544 || (form->fields[0] == NULL)) in data_ahead()
547 cur = form->fields[form->cur_field]; in data_ahead()
564 if ((form == NULL) || (form->fields == NULL) in data_behind()
565 || (form->fields[0] == NULL)) in data_behind()
568 cur = form->fields[form->cur_field]; in data_behind()
585 if ((form == NULL) || (form->fields == NULL) || in pos_form_cursor()
586 (form->fields[0] == NULL)) in pos_form_cursor()
592 cur = form->fields[form->cur_field]; in pos_form_cursor()