Difference between revisions of "Command/setupfields"

From ConTeXt wiki
Jump to navigationJump to search
m (Text replace - "\[\[cmd:(.*)\|(.*)\]\]" to "{{cmd|$1}}")
(MkIV warning)
Line 104: Line 104:
  
 
== 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 113:
  
 
== See also ==
 
== See also ==
<!-- something like {{cmd|goto}} -->
+
* {{cmd|setupfield}}
  
 
== Help from ConTeXt-Mailinglist/Forum ==
 
== Help from ConTeXt-Mailinglist/Forum ==

Revision as of 08:32, 5 October 2015

\setupfields

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: