Rockwell Automation 9307 FactoryTalk EnergyMetrix User Manual

Page 262

Advertising
background image

FactoryTalk EnergyMetrix Software

262

Instancing

The RichTextBox object is a creatable object.

Accessing

RichTextBox objects are created by using the New operator.

Properties

Methods

Usage

More information on Rich Text Format (rft) usage and syntax can be found on the Web.
Suggested search key ‘RTF Specification’.

Row Object

The Row object represents one row of data in a Grid object.

Instancing

The Row object is a creatable object.

Accessing

MPR script code can create Row objects by using the AddRow method of a Grid object.

All codes must be followed by a space character. As an example,
‘\fs24 My Text \b Is Bold \b0’ will work while ‘\fs24 My Text \b Is
Bold \b0’ will cause a run-time error because there is no space
character after the \b0 code.

Property

R/W

Description

Text As String

R/W

The text within the rich text box

Method

Description

AddText(Text As String)

Append specified text to the text within the rich text box

RichTextBox() As
RichTextBox

Create a RichTextBox object

RichTextBox(Left As
Double, Top As Double,
Width As Double, Height
As Double, rtfText As
String)As RichTextBox

Create a RichTextBox at the specified coordinates and size and
set the initial text to the rtfText string

Advertising