]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - Ada95/html/form_fieldtype.3x.html
ncurses 4.2
[ncurses.git] / Ada95 / html / form_fieldtype.3x.html
index 4a25187adebd8a8ba1a6da46914e77b9649bb111..d56915ef854adca19d71d24a0d41ccaa8ac4c4f3 100644 (file)
        object which can later be passed to validation predicated.
        The other two hook arguments should copy  and  free  argu-
        ment-block  structures.   They  will be used by the forms-
-       driver code.
+       driver code. You must supply  the  <EM>mak</EM><STRONG>_</STRONG><EM>arg</EM>  function,  the
+       other  two  are optional, you may supply NULL for them. In
+       this case it is assumed,  that  <EM>mak</EM><STRONG>_</STRONG><EM>arg</EM>  doesn't  allocate
+       memory  but simply loads the argument into a single scalar
+       value.
 
-       The   form    driver    requests    <STRONG>REQ_NEXT_CHOICE</STRONG>    and
-       <STRONG>REQ_PREV_CHOICE</STRONG> assume that the possible values of a field
        form an ordered set, and provide the forms user with a way
        to  move  through the set.  The <STRONG>set_fieldtype_choice</STRONG> func-
+       tion allows forms programmers to define successor and pre-
+       decessor  functions  for  the field type.  These functions
        take the field pointer and an argument-block structure  as
        arguments.
 
 
 
 
-
-
-
-
 </PRE>
 </BODY>
 </HTML>