String Field

<< Click to Display Table of Contents >>

Navigation:  Object Reference > Palette Objects >

String Field

The string field object is designed to show text on the screen. It can be customized like any other object using it's properties.

The string field has a lot of common properties. See here for a description of them. Here only the string field specific properties are described.

 

Besides the Auto Wrap property, Texts in String Fields can also have custom line breaks by inserting "\n" (without the "") in the text.

The line break can also be included at runtime via JavaScript by adding \n in a String variable and having that referenced to the String Field or, alternatively by putting the text into the String Field with setProperty.

 

Please note that for existing projects in the rare case the text "\n" should be used in a String Field, this will now be interpreted as a line break.

In that case, please change "\n" to e.g. "\ n" to avoid the line break.

 

 

hmtoggle_plus1String Field Specific Properties
hmtoggle_plus1Events