MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Curses Library Functions                 formfieldopts(3CURSES)



NAME
     formfieldopts,       setfieldopts,        fieldoptson,
     fieldoptsoff, fieldopts - forms field option routines

SYNOPSIS
     cc [ flag... ] file... -lform  -lcurses  [ library... ]
     #include 

     int setfieldopts(FIELD *field, OPTIONS opts);


     int setfieldopts(FIELD *field, OPTIONS opts);


     int fieldoptson(FIELD *field, OPTIONS opts);


     int fieldoptsoff(FIELD *field, OPTIONS opts);


     OPTIONS fieldopts(FIELD *field);


DESCRIPTION
     setfieldopts() turns on the named  options  of  field  and
     turns  off all remaining options. Options are boolean values
     that can be OR-ed together.


     fieldoptson() turns on the named options; no other options
     are changed.


     fieldoptsoff() turns  off  the  named  options;  no  other
     options are changed.


     fieldopts() returns the options set for field.

     OVISIBLE     The field is displayed.


     OACTIVE           The field is visited during processing.


     OPUBLIC      The field contents are displayed  as  data  is
                   entered.


     OEDIT             The field can be edited.





SunOS 5.11          Last change: 31 Dec 1996                    1






Curses Library Functions                 formfieldopts(3CURSES)



     OWRAP        Words not fitting on a line are wrapped to the
                   next line.


     OBLANK       The whole field is cleared if a  character  is
                   entered   in the first position.


     OAUTOSKIP    Skip to the next field when the current  field
                   becomes  full.


     ONULOK      A blank field is considered valid.


     OSTATIC      The field buffers are fixed in size.


     OPASOK      Validate field only if modified by user.


RETURN VALUES
     setfieldopts, fieldoptson and fieldoptsoff return  one
     of the following:

     EOK              The function returned successfully.


     ESYSTEMEROR    System error.


     ECURENT         The field is the current field.


ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     MT-Level                     Unsafe                      
    


SEE ALSO
     curses(3CURSES), forms(3CURSES), attributes(5)

NOTES




SunOS 5.11          Last change: 31 Dec 1996                    2






Curses Library Functions                 formfieldopts(3CURSES)



     The  header    automatically  includes  the  headers
      and .





















































SunOS 5.11          Last change: 31 Dec 1996                    3



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™