Difference between revisions of "Command/setupfield"
< Command
Jump to navigation
Jump to search
m (Text replace - "== Help from ConTeXt-Forum ==" to "== Help from ConTeXt-Forum == All issues with:") |
|||
(6 intermediate revisions by 3 users not shown) | |||
Line 4: | Line 4: | ||
}} | }} | ||
+ | == [[Help:Reference|Syntax]] (autogenerated) == | ||
+ | <syntax>setupfield</syntax> | ||
== [[Help:Reference|Syntax]] == | == [[Help:Reference|Syntax]] == | ||
<table cellspacing="4" cellpadding="2" class="cmd"> | <table cellspacing="4" cellpadding="2" class="cmd"> | ||
Line 25: | Line 27: | ||
== Description == | == Description == | ||
+ | Define a setup class for interactive fields (widgets). | ||
+ | # setup name | ||
+ | # ? | ||
+ | # options, mostly inherited from {{cmd|setupframed}} | ||
+ | == Example == | ||
− | == | + | <texcode> |
− | < | + | \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] | ||
+ | </texcode> | ||
== See also == | == See also == | ||
− | + | * {{cmd|definefield}} | |
+ | * {{cmd|definesubfield}} | ||
+ | * {{cmd|field}} | ||
+ | * [http://www.pragma-ade.com/general/manuals/mwidget-s.pdf Widgets Manual] | ||
+ | * [[Widgets]] | ||
+ | * Module fields {{src|m-fields.mkiv}} | ||
− | == Help from ConTeXt-Forum == | + | == Help from ConTeXt-Mailinglist/Forum == |
All issues with: | All issues with: | ||
{{Forum|{{SUBPAGENAME}}}} | {{Forum|{{SUBPAGENAME}}}} | ||
− | [[Category: | + | [[Category:Command/Fields|setupfield]] |
Revision as of 14:37, 15 October 2019
\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).
- setup name
- ?
- 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
- \definefield
- \definesubfield
- \field
- Widgets Manual
- Widgets
- Module fields m-fields.mkiv
Help from ConTeXt-Mailinglist/Forum
All issues with: