18.01.2015 Views

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

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.

Screens and Graphics<br />

• Size<br />

• Effects<br />

• Color<br />

• Script<br />

• Border: Specify a text border by clicking the Border box.<br />

To select a border color, click the Color rectangle. When the Color dialog displays, click a color to select it,<br />

then close the dialog.<br />

• Background: Specify a background color by clicking the Color button. When the Color dialog displays, click a<br />

color to select it, then close the dialog.<br />

• Enable translation (optional): Specify an external translation file for the text by clicking (checking) this box.<br />

DRAW AND CONFIGURE A TEXT BOX OBJECT<br />

Draw a Text Box screen object to create a way to input and/or output text, including multiple lines.<br />

Before <strong>InduSoft</strong> Web Studio v7.1, the only way to input and output text on screen was to draw a Text<br />

object and then apply a Text Data Link animation to it. This was restricted to a single line of text per object,<br />

however, and it required additional steps to combine the object, animation, and any background or border<br />

shapes.<br />

The new Text Box object is an OS-style text input/output box that can be configured to show multiple lines.<br />

When the object is associated with a String array, each line of the box corresponds to an array element: Line 1<br />

is Array Index 0, Line 2 is Array Index 1, Line 3 is Array Index 2, and so on.<br />

Otherwise, the Text Box object works much like the Text Data Link animation.<br />

To draw and configure a Text Box object:<br />

1. Open a screen for editing.<br />

2. On the Graphics tab of the ribbon, in the Active Objects group, click Text Box.<br />

The mouse cursor changes to a crosshair for drawing.<br />

3. Draw the object where you want it on the screen, and then further move or resize it if necessary.<br />

4. Double-click the object.<br />

The Object Properties dialog box is displayed.<br />

Text Box object properties<br />

5. In the Hint box, type a hint or tooltip that you want to have displayed during run time when the mouse<br />

hovers over the object.<br />

6. In the Tag/Expression box, type the name of a project tag or an expression to associate it with the object.<br />

Tip: Click the browse button (…) on the right to use the Object Finder to form the tag/<br />

expression.<br />

A project tag can be used for either input or output. An expression can be used only for output.<br />

Page 182<br />

<strong>InduSoft</strong> Web Studio

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

Saved successfully!

Ooh no, something went wrong!