Difference between revisions of "Command/setupfields"

From ConTeXt wiki
Jump to navigationJump to search
m (Text replace - "== Help from ConTeXt-Forum ==" to "== Help from ConTeXt-Mailinglist/Forum ==")
 
(4 intermediate revisions by 3 users not shown)
Line 4: Line 4:
 
}}
 
}}
  
 +
== [[Help:Reference|Syntax]] (autogenerated) ==
 +
<syntax>setupfields</syntax>
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
 
<table cellspacing="4" cellpadding="2" class="cmd">
 
<table cellspacing="4" cellpadding="2" class="cmd">
Line 104: Line 106:
  
 
== Description ==  
 
== Description ==  
 +
Define common options for interactive fields (widgets).
  
 +
Beware, this doesn’t do anything in MkIV! You need to setup every single field class.
  
  
Line 111: Line 115:
  
 
== See also ==
 
== See also ==
<!-- something like [[cmd:goto|\goto]] -->
+
* {{cmd|setupfield}}
  
 
== Help from ConTeXt-Mailinglist/Forum ==
 
== Help from ConTeXt-Mailinglist/Forum ==
Line 117: Line 121:
 
{{Forum|{{SUBPAGENAME}}}}
 
{{Forum|{{SUBPAGENAME}}}}
  
[[Category:Fields|setupfields]]
+
[[Category:Command/Fields|setupfields]]

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: