Text

SUMMARY

Creating and binding Text.

CONTENTS

  1. Text
  2. Binding

Text

Text:

CTRL+ENTER creates a new line for multiline text.

Character Set:

Select ". . ." via Window Font-Dialog.

Format:

Lists Windows-Options which can be activated or deactivated by clicking into the box on the left hand side:

Binding

Text

Example: Refresh-Script:
SetVal(Text, OBJ.MyObject.Value);
The attribute Text contains the text to be displayed. Via SetVal() the property Value of the Data-Object ‘MyObject’ is assigned to it. Thereby numbers and times are converted to the default string format automatically. If the default is insufficient a converting function must be used.

Example
Cnvrt2Str(OBJ.MyObject.Time, "DD.MM.YYYY hh:mm:ss");
//The formatted string is found on the stack  
SetVal(Text, );
//The empty argument takes the value from the stack

LineColor

The Text Color, it is handed over as string.

Example:
SetVal(LineColor, "_Red");

FillColor

The Background Color, it is handed over as string.

Example:
SetVal(FillColor, "_Black");        //Background Color default-black

Example:
SetVal(FillColor, "");        //Background Color transparent