Open main menu

Changes

m
Text replacement - "pragma-ade.com" to "pragma-ade.nl"
}}
== [[Help:Reference|Syntax]] (autogenerated) ==<table cellspacing="4" cellpadding="2" class="cmd"> <trsyntax> <td colspan="2" class="cmd">\setupfield<span class="first" >[...]</span><span class="second" >[...,...,...]</span><span class="third" >[...,...=...,...]</span><span class="first" >[...,...=...,...]</span><span class="second" >[...,...=...,...]</span></td> </tr> <tr valign="top" class="first"> <td class="cmd">[...]</td> <td>name </td> </tr> <tr valign="top" class="second"> <td class="cmd">[...,...,...]</td> <td>label horizontal vertical frame </td> </tr> <tr valign="top" class="third"> <td class="cmd">[...,...=...,...]</td> <td>see [[Command/setupfields|\setupfields]] </td> </tr></tablesyntax>
== Description ==
Define a setup class for interactive fields (widgets).
# setup name
# keyword options
# field options, mostly inherited from {{cmd|setupframed}}
# field label options, inherited from {{cmd|setupframed}}
# field content options, inherited from {{cmd|setupframed}}
== Example ==
<texcode>\setupfield[shortString][reset,horizontal][width=45mm,option=printable,frame= Example off,bottomframe=on,height=2em,offset=0.5mm,frameoffset=1mm]\definefield[Name][line][shortString][][Hans]\field[Name]<!-- Please fill in an example if you can --/texcode>
== See also ==
<!* {{cmd|definefield}}* {{cmd|definesubfield}}* {{cmd|field}}* {{cmd|fieldbody}} – to only use the contentframe of the field* [http://www.pragma-ade.nl/general/manuals/mwidget- something like s.pdf Widgets Manual]* [[cmd:goto|\gotoWidgets]] * Module fields {{src|m-->fields.mkiv}}
== Help from ConTeXt-Mailinglist/Forum ==All issues with:
{{Forum|{{SUBPAGENAME}}}}
[[Category:CommandsCommand/Fields|setupfield]]