'\"!  tbl | mmdoc
'\"macro stdmacro
.if n .pH g3x.form_f_just @(#)form_f_just	40.3 of 12/15/89
.\" Copyright 1989 AT&T
.\" ident	"@(#)svid_ti:ti_lib/form_f_just	1.4"
.nr X
.if \nX=0 .ds x} form_field_just 3X "" "\&"
.if \nX=1 .ds x} form_field_just 3X ""
.if \nX=2 .ds x} form_field_just 3X "" "\&"
.if \nX=3 .ds x} form_field_just "" "" "\&"
.TH \*(x}
.SH NAME
\f4form_field_just\f2: \f4 set_field_just\f1, \f4field_just\f1 \- format the general appearance of \f4forms\fP
.SH SYNOPSIS
.nf
.ft 4
#include <form.h>
.sp
int set_field_just(FIELD *field, int justification);
.sp 0.5
int field_just(FIELD *field);
.ft 1
.fi
.SH DESCRIPTION
\f4set_field_just\fP sets the justification for \f2field\f1.
Justification may be one of:
.RS
.na
\f4NO_JUSTIFICATION\f1, \f4JUSTIFY_RIGHT\f1,
\f4JUSTIFY_LEFT\f1, or \f4JUSTIFY_CENTER\f1.
.ad
.RE
.P
The field justification will be ignored if \f2field\f1 is a dynamic field.
.P
\f4field_just\fP returns the type of justification assigned to \f2field\f1.
.SH RETURN VALUE
\f4field_just\fP returns the one of:
.RS
.na
\f4NO_JUSTIFICATION\f1, \f4JUSTIFY_RIGHT\f1,
\f4JUSTIFY_LEFT\f1, or \f4JUSTIFY_CENTER\f1.
.ad
.RE
.P
set_field_just\fP returns one of the following:
.TS
lfCWw(1.25i)1 c1 l .
E_OK	\-	The function returned successfully.
E_SYSTEM_ERROR	\-	System error.
E_BAD_ARGUMENT	\-	An argument is incorrect.
.TE
.SH NOTES
.P
The header file \f4<form.h>\f1 automatically includes the header files
\f4<eti.h>\fP and \f4<curses.h>\fP.
.SH SEE ALSO
\f4curses\fP(3X),
\f4forms\fP(3X).
