Changing Text on the Fly
You can display not only "static" text, but also the contents of a STRING, like this:

The STRING can be created in the GUI, or passed from/to DSP, using names like dsp.output_string0, dsp.input_string1, and so on.
In the example above, we used TEXT_EDIT_BOX to type in text, which is then displayed by a TEXT element.
Another way to manually change a string is to use TEXT_FIELD. Let's also demonstrate the TOOLTIP element:
- <?xml version="1.0" encoding="utf-8" ?>
- <SKIN>
- <STRING id="test_string" default="Click to change me" />
- <TEXT_FIELD string_id="test_string" width="200" text_h_align="left" font_weight="bold" />
- <TEXT value="I have a tooltip!" h_align="left" text_h_align="left">
- <TOOLTIP string_id="test_string" />
- </TEXT>
- </SKIN>

Comments
Please, authorize to view and post comments.