common.OutputPanel


This function displays the string on the Output panel.

[Specification format]

common.OutputPanel(output, messageType = MessageType.Information)

[Argument(s)]

Argument

Description

output

Specify the string displayed on the Output panel.

messageType

Specify the type of messages to be colored in the Output panel.

The colors are in accord with the settings for the [General - Font and Color] category in the Option dialog box.

Type

Description

MessageType.Error

Error

MessageType.Information

Standard (default).

MessageType.Warning

Warning

[Return value]

If the string was displayed on the Output panel successfully: True

If there was an error when displaying the string on the Output panel: False

[Detailed description]

-

This function displays the string specified by output on the Output panel.

[Example of use]

>>>common.OutputPanel("An error occurred.", MessageType.Error)
True
>>>