MessageDialog

Use the MessageDialog to create and display a message or dialog from a solution . For more information, see General Component Properties, Methods, and Events.

 

Properties

Property

Description

Buttons

The buttons options for the MessageDialog:

  • OK

  • OK and Cancel

  • Abort and Retry and Ignore

  • Yes and No and Cancel

  • Yes and No

  • Retry and Cancel

Caption

Text that is displayed on title bar of MessageDialog box.

DefaultButton

The button that is highlighted when the MessageDialog is first opened.

Icon

The image displayed in the MessageDialog. Your options are:

  • None

  • Hand

  • Question

  • Warning

  • Asterisk

Message

The text to appear in the MessageDialog.

TopMost

If set to True, the message box stays on top of all windows on the desktop. This is, however, only modal to Studio. The default is True.

 

Methods

Method

Description

Parameters

Result Type

Show (no params)

Displays the MessageDialog. No dynamic input parameters. Message, buttons, and title are set through the properties on the Properties Grid.

None

DialogResult

Show (1 param)

Displays the MessageDialog. Enables the dynamic input of the message.

String message

DialogResult

Show (2 params)

Displays the MessageDialog. Enables the dynamic input of the message and caption.

String message, String caption

DialogResult

Show (3 params)

Displays the Message Dialog. Enables the dynamic input of the message, caption, and window's owner. To use the window's owner parameter, connect the output of the parent window to this parameter.

String message, String caption, WIn32Window owner

DialogResult

 

Related information

Using the MessageDialog Component

 


Privacy | Trademarks | Terms of Use | Feedback

Updated: 18 June 2020

© 2016 - 2020 Pegasystems Inc.  Cambridge, MA All rights reserved.

 

OpenSpan data classification label