|
Control VariablesEach toolbar element can have an associated value. This value can be referenced through a variable and used in functions, captions, tooltips etc. Syntax:%VARIABLE% Remarks:
Example: <xml id="toolbar"> <toolbar caption="Variables Example"> <control type="toolbar"> <button id=button1 caption="Button 1" value="This is button1 value."></button> <button id=button2 caption="Button 2" tooltip="%BUTTON1%></button> </control> </toolbar> </xml> In the above example, a toolbar is created with two buttons. Moving your mouse over the second button displays a tooltip. The tooltip uses the %BUTTON1% variable. Compatibility The %VARIABLE(CAPTION)% syntax is supported from version 2.4.1 See Also: |