User:Jcreer/SMS:DMI Check Box Elements: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
Line 39: Line 39:
|width="530"|
|width="530"|
Specified the text to be exported when the check box is set to true
Specified the text to be exported when the check box is set to true
|-
|'''Values'''
|string
|-
|'''Version'''
|1
|-
|'''Used by'''
|check_box
|}
=====Attribute @ ''<export_text_unchecked>''=====
{|class="wikitable"
|-
|width="70"|'''Info'''
|width="530"|
Specified the text to be exported when the check box is set to false


|-
|-

Revision as of 22:17, 10 March 2015


Elements

Element <check_box>
Info Widget that displays text that is checked/unchecked.
Versions 1, 2
Attributes none
Children text, default, unique_name, dependency, export_text_checked, export_text_unchecked, text_style
Used by item
Example
<check_box>                       	
   <text>Calculate Sediment Transport</text>
   <default>checked</default>
   <unique_name>togCalcSedimentTransport</unique_name>
   <export_text_checked>ON</export_text_checked>
   <export_text_unchecked>OFF</export_text_unchecked>
   <dependency>…</dependency>…
</ check_box >

Attributes

Attribute @ <export_text_checked>
Info

Specified the text to be exported when the check box is set to true

Values string
Version 1
Used by check_box
Attribute @ <export_text_unchecked>
Info

Specified the text to be exported when the check box is set to false

Values string
Version 1
Used by check_box
Attribute @ <unique_name>
Info

A unique name given to an widget, which determines how to reference the widget. This is needed if the widget is being used as a dependency (parent), or if the widget value is being exported. When a unique_name is being referenced it should be by the file (nothing if current file), then unique_name. No spaces or punctuation (except _) are allowed in the name. The name must contain at least 1 non-numeric letter. The name must be unique. Names are not case sensitive, hence “aaa” is the same as “AAA”.

Values string (unique)
Version 1
Used by card, text_box, combo_box, edit_box, table, all elements starting with “custom_control”, check_box, text_box, control_curve