Difference between revisions of "Command/setupfield"

From Wiki
Jump to navigation Jump to search
Line 46: Line 46:
 
* {{cmd|definesubfield}}
 
* {{cmd|definesubfield}}
 
* {{cmd|field}}
 
* {{cmd|field}}
 +
* {{cmd|fieldbody}} – to only use the contentframe of the field
 
* [http://www.pragma-ade.com/general/manuals/mwidget-s.pdf Widgets Manual]
 
* [http://www.pragma-ade.com/general/manuals/mwidget-s.pdf Widgets Manual]
 
* [[Widgets]]
 
* [[Widgets]]

Revision as of 22:58, 2 May 2021

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