Open main menu

\setupfield

Syntax (autogenerated)

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



Description

Define a setup class for interactive fields (widgets).

  1. setup name
  2. keyword options
  3. field options, mostly inherited from \setupframed
  4. field label options, inherited from \setupframed
  5. field content options, inherited from \setupframed

Example

\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: