MessageWindow

The application message window. Messages with various formatting can be written to the message window.

Example

app = cf.GetApplication()

    -- Get the 'MessageWindow' object

messageWindow = app.MessageWindow

    -- Log a message and a heading
    
messageWindow:LogHeading('MessageWindow example')
messageWindow:LogMessage('A message from the example')

Usage locations (object properties)

The following objects have properties using the MessageWindow object:

Property List

Type
The object type string. (Read only string)

Method List

LogError (message string)
Log an error message to the message window.
LogHeading (heading string)
Log a heading to the message window.
LogMessage (message string)
Log a message to the message window.
LogNote (message string)
Log a note to the message window.
LogWarning (message string)
Log a warning message to the message window.

Property Details

Type
The object type string.
Type
string
Access
Read only

Method Details

LogError (message string)
Log an error message to the message window.
Input Parameters
message(string)
The error message.
LogHeading (heading string)
Log a heading to the message window.
Input Parameters
heading(string)
The heading.
LogMessage (message string)
Log a message to the message window.
Input Parameters
message(string)
The message.
LogNote (message string)
Log a note to the message window.
Input Parameters
message(string)
The note message.
LogWarning (message string)
Log a warning message to the message window.
Input Parameters
message(string)
The warning message.