Skip to main content

Global context.DoMessageBox

DoMessageBox

Syntax

DoMessageBox(<MessageText>, <Timeout>, <Title>)

Parameters

<MessageText> (required)

Type: String, FormattedString. Message text.

<Timeout> (optional)

Type: Number. Period in seconds that the system will wait for an answer. After this period, the message box will close. If the parameter is not indicated, then idle time is unlimited. If the parameter has negative value, the exception is raised. Default value: 0.

<Title> (optional)

Type: String. Contains the warning window title. If it is not set, the dialog box title is not displayed.

Description

Produces message box on the screen.

Availability

Thin client, mobile client, thick client, mobile application (client).

Note

If the configuration has the ModalityUseMode property set to DontUse use the ShowMessageBox method instead.

Example

DoMessageBox("Select a document!", 10);

Translation

Русская версия: Глобальный контекст.Предупреждение (Global context.DoMessageBox)