DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

form_field_just(S)


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

Syntax

cc ... -lform -lcurses

#include <form.h>

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

Description

set_field_just(S) sets the justification for field. Justification may be one of

NO_JUSTIFICATION
JUSTIFY_RIGHT
JUSTIFY_LEFT
JUSTIFY_CENTER

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

Field justification is not allowed for a non-editable field. However, if the field was justified before it became non-editable, it remains justified.

field_just(S) returns the type of justification assigned to field.

Return values

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

Warning

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

Files


/usr/lib/libform.a
the library

See also

curses(S), forms(S)

Standards conformance

set_field_just(S) and field_just(S) are not part of any currently supported standard; they were developed by UNIX System Laboratories, Inc. and are maintained by The SCO Group.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003