form_field_just(S-osr5)
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-osr5)
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-osr5)
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-osr5),
forms(S-osr5)
Standards conformance
set_field_just(S-osr5)
and
field_just(S-osr5)
are not part of any currently supported standard;
they were developed by UNIX System Laboratories, Inc.
and are maintained by The SCO Group.
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005