form_field_just(3ocurses)


form_field_just: set_field_just, field_just -- format the general appearance of forms

Synopsis

cc [flag . . .] file -lform -locurses [library . . .]

#include <form.h>

int set_field_just(FIELD *field, int justification); int field_just(FIELD *field);

Description

set_field_just sets the justification for field. Justification may be one of
NO_JUSTIFICATION
JUSTIFY_RIGHT
JUSTIFY_LEFT
JUSTIFY_CENTER

The field justification will be ignored if field is a dynamic field.

Field justification will not be allowed for a non-editable field. However, if the field was already justified before making it non-editable, it will remain justified.

field_just returns the type of justification assigned to field.

<Return> value

field_just returns one of:
NO_JUSTIFICATION
JUSTIFY_RIGHT
JUSTIFY_LEFT
JUSTIFY_CENTER

set_field_just returns one of the following:

E_OK - The function returned successfully.
E_SYSTEM_ERROR - System error.
E_BAD_ARGUMENT - An argument is incorrect.
E_REQUEST_DENIED - Justification request denied.

 E_OK               -   The function returned successfully.
 E_SYSTEM_ERROR     -   System error.
 E_BAD_ARGUMENT     -   An argument is incorrect.
 E_REQUEST_DENIED   -   Justification request denied.

Notices

The header file form.h automatically includes the header files eti.h and ocurses.h.

References

curses(3ocurses), forms(3ocurses)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004