Difference between revisions of "Command/setupfields"

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

Latest revision as of 14:37, 15 October 2019

\setupfields

Syntax (autogenerated)

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


Syntax

\setupfields[...,...,...][...][...,...=...,...][...,...=...,...][...,...=...,...]
[...,...,...] name
[...] reset label horizontal vertical frame
n number
distance dimension
before command
after command
inbetween command
color name
style normal bold slanted boldslanted type
align flushleft middle flushright
option readonly required protected sorted unavailable hidden printable
clickin reference
clickout reference
regionin reference
regionout reference
afterkey reference
format reference
validate reference
calculate reference
fieldoffset dimension
fieldframecolor name
fieldbackgroundcolor name
[...,...=...,...] see \framed

Description

Define common options for interactive fields (widgets).

Beware, this doesn’t do anything in MkIV! You need to setup every single field class.


Example

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: