Difference between revisions of "Command/setupfield"

From ConTeXt wiki
 
Line 4: Line 4:
 
}}
 
}}
  
== [[Help:Reference|Syntax]] (autogenerated)] ==
+
== [[Help:Reference|Syntax]] (autogenerated) ==
 
<syntax>setupfield</syntax>
 
<syntax>setupfield</syntax>
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==

Latest revision as of 14:37, 15 October 2019

\setupfield

Syntax (autogenerated)

\setupfield[...][...,...][...=...,...][...=...,...][...=...,...]
[...]name
[...,...]reset label frame horizontal vertical
...=...,...inherits from \setupfieldtotalframed
...=...,...inherits from \setupfieldlabelframed
...=...,...inherits from \setupfieldcontentframed


Syntax

\setupfield[...][...,...,...][...,...=...,...][...,...=...,...][...,...=...,...]
[...] name
[...,...,...] label horizontal vertical frame
[...,...=...,...] see \setupfields


Description

Define a setup class for interactive fields (widgets).

  1. setup name
  2.  ?
  3. options, mostly inherited from \setupframed

Example

\usemodule[fields] % MkIV
\setupfield[shortString][reset,horizontal][width=45mm,option=printable,frame=off,bottomframe=on,height=2em,offset=0.5mm,frameoffset=1mm]
\definefield[Name][line][shortString][][Hans]
\field[Name]

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: