Next: , Previous: , Up: The curses form library   [Contents][Index]

5.6.16 Setting the page number and field

Procedure: current-field form

This procedure returns the current field on the form. Note that this field cannot be used or assigned to any other form.

Procedure: set-current-field! form field

This procedure sets the current field on the form.

Procedure: field-index field

The function field-index returns the index of the field in the field array of the form it is connected to. If the field is not connected to a form, it will throw an error.

Procedure: set-form-page form n

Sets the page of the form to n.

Procedure: form-page form

Returns the current form’s displayed page number.