
B-63924EN/01 3.CUSTOMIZATION
- 229 -
Now let us explain the button tag, which defines an individual button
in a group.
For example, the [POSITION] button is defined as follows:
In this example, this button is defined as a toggle type.
The fact that the status tag is false means that the initial display of the
button is OFF when it is not selected.
If the initial display of the button is OFF, the caption of the button is
obtained from a character string resource in a resource file, and
language-specific labeling is also supported. As defined in the
caption tag, the resource tag is set with a resource name, and the
message tag, with a resource ID. The background color of the button
is a color having the definition name submenu_on defined with colors,
and the displayed label is an icon called Paramctl.ico. It stays
displayed.
<funcs>
funcdef tag
funcdef tag
:
<button bop2:index="0" bop2:type="toggle">
<status>false</status>
<off>
<caption>
<resource>m_main</resource>
<message> MSG_KEY_PARAM </message>
</caption>
<textstyle>default</textstyle>
<colorref>submenu_off</colorref>
<image>Paramctl.ico</image>
<action>
: Omitted
</action>
</off>
<on>
<caption>
<resource>m_main</resource>
<message> MSG_KEY_PARAM </message>
</caption>
<textstyle>default</textstyle>
<colorref>submenu_on</colorref>
<image>Paramctl.ico</image>
<action />
</on>
</button>
:
</funcs>