23.11.2012 Views

2 Visual Components Manuals

2 Visual Components Manuals

2 Visual Components Manuals

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Introduction to <strong>Visual</strong> <strong>Components</strong> 2.3<br />

4.5.1.3.1.2 Individual Text Colors<br />

Individual color settings can be made for each text<br />

object under Colors in the static text 'Properties'<br />

dialog box.<br />

By deactivating the Use Global option, individual<br />

Foreground and Background colors, as well as Use<br />

Transparent Color, become available.<br />

If transparent mode is selected, then only the<br />

foreground color is displayed.<br />

Settings made last are saved by the editor as a<br />

presetting for the next created static text field. In this<br />

way, several texts can conveniently be created using<br />

the same settings.<br />

4.5.1.3.1.3 Dynamic Text Colors<br />

Object colors can be changed during runtime by connecting a variable to the Colors Variable field. The variable<br />

has to be of data type UINT.<br />

The higher value byte represents the foreground color (0−255).<br />

The lower value byte represents the background color (0−255).<br />

The text can be set to blink by simply swapping the variable bytes. If both bytes are set to the same value, then<br />

the text is hidden. The interval and combinations are adjustable depending on the control application.<br />

4.5.1.3 Texts 313

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!