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


5.6.15 Setting and getting form options

Procedure: set-form-opts form opts
Procedure: form-opts-on! form opts
Procedure: form-opts-off! form opts

The function set-form-opts sets all the given form’s option bits (form option bits may be logically-OR’ed together).

The function form-opts-on! turns on the given option bits, and leaves others alone.

The function form-opts-off! turns off the given option bits, and leaves others alone.

Procedure: form-opts form

This returns the current option bits for the form.

The following options are defined, and all are on by default.

O_NL_OVERLOAD

Overload the REQ_NEW_LINE forms driver request so that calling it at the end of a field goes to the next field.

O_BS_OVERLOAD

Overload the REQ_DEL_PREV forms driver request so that calling it at the beginning of a field goes to the previous field.