23.11.2012 Views

2 Visual Components Manuals

2 Visual Components Manuals

2 Visual Components Manuals

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Note:<br />

Corresponding color values can be found in in the Color Table.<br />

Specific colors can be read directly from the tool tips index value in the color dialog box.<br />

4.5.1.4 Texts<br />

4.5.1.4.1 Advanced Text Properties<br />

Changing the position of the text and modifying the connected status variable are both considered additional text<br />

properties.<br />

The position can be set exactly (in pixels) with the<br />

'Top' and 'Left' fields. On text panels, these<br />

specifications refer to rows and columns. These<br />

settings cannot be changed during runtime.<br />

The Status Variable is of data type UINT. For static<br />

text, bit 0 is responsible for determining whether the<br />

text is displayed or not.<br />

BIT 0 == 1 − Text not shown<br />

BIT 0 == 0 − Text shown<br />

Tip:<br />

Dynamic Text output provides additional possibilities for designing the visualization task.<br />

4.5.2 Lines<br />

Lines are used for arranging pictures in the <strong>Visual</strong> <strong>Components</strong> editor.<br />

Lines can be only be drawn with a width of 1 pixel. Not all panels support lines. Some panels only support<br />

horizontal and vertical lines. Slanted lines can only be drawn on graphic panels. This hardware limitation is<br />

taken into account by the editor.<br />

4.5.2.1 Drawing Lines<br />

The line mode is activated by selecting the line icon from the toolbar. The start point is determined by<br />

clicking the left mouse button in the display. The end point is set by holding down the left mouse button and<br />

dragging the positioning tool to the desired end position.<br />

Note:<br />

Some panels can only display horizontal and vertical lines.<br />

Line width is always 1 pixel. The line can later be moved or edited in the editor. If Ctrl is held down while drawing<br />

the line, then the editor will only allow a horizontal or vertical line to be drawn. If 'Snap Moving Objects to Grid' is<br />

activated, then the endpoint of the line can only be on an intersecting point of the set grid. A line can be deleted<br />

using the shortcut menu or the Del key.<br />

The 'Object Properties' dialog box is opened by double−clicking on the line.<br />

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

314 4.5.1.4 Texts

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

Saved successfully!

Ooh no, something went wrong!