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.

4.5.1.2.2 Text Position<br />

Text position is determined by the following factors.<br />

• Not every panel can position text with single pixel precision.<br />

• A 'Snap−to−Grid' mode can be set in the editor.<br />

The text can be moved using the mouse according to these possibilities. The mouse pointer position is<br />

displayed in the lower left corner of the editor. For better alignment, the snap−to−grid option can be selected or<br />

the grid can be displayed. The grid can be individually set.<br />

4.5.1.2.3 Selecting Texts<br />

Each text can be selected individually using the mouse. Multiple selection is possible by pressing the 'Ctrl' key<br />

and simultaneously clicking on the respective objects or dragging a box over them with the mouse. In this way,<br />

texts and other elements can be copied and inserted in another position or in another picture. Inserting always<br />

takes place with reference to the upper−left corner of the picture.<br />

Tip:<br />

If several texts are to be copied from a page and inserted in the same position on another page, a character can<br />

be inserted in the upper left corner of the source picture. If this character is also selected for copying, then all<br />

other texts will be inserted in the position they were in on the source picture. Then the character can be deleted<br />

from the top left of both pictures.<br />

4.5.1.3 Texts<br />

4.5.1.3.1 Text Color Settings<br />

Foreground and background colors can be defined during the design phase and runtime for static texts. The<br />

number of colors depends on the panel being used. The editor uses the limits of the corresponding panel type.<br />

There are 3 ways to assign color:<br />

• Global Color Setting<br />

• Individual Color Setting<br />

• Dynamic Color Setting Using a Variable<br />

The sequence listed above also determines the priority on the target system. Assigning a variable to an object<br />

has the highest priority. In this way, specific blink effects as well as displaying/not displaying text are possible.<br />

4.5.1.3.1.1 Global Color Setting for Text<br />

In the global color settings for the project, the global<br />

foreground and background colors are used by default<br />

for static text (in the Global Colors section).<br />

In this example, black text is placed on a white<br />

background. This global setting can be overwritten by a<br />

runtime system variable which can be conneted under<br />

Global Colors Variable.<br />

'Use static text's transparent color' only defines the<br />

foreground color for the editor. If the text is written on<br />

any background (i.e. bitmap), then only the characters<br />

are displayed.<br />

The background color can also be changed using this<br />

option.<br />

If this option is not selected, text is always output with<br />

foreground and background colors.<br />

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

312 4.5.1.2 Texts

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

Saved successfully!

Ooh no, something went wrong!