Pular para o conteúdo principal

ShowMessage

Displays a message box with an OK button.

Structure

ShowMessage(const Msg: string);

Parameters

Description

Call ShowMessage to display a simple message box with an OK button. The Msg parameter is the message string that appears in the message box. The name of the application's executable file appears as the caption of the message box.

To display a message in a message box with other buttons, or with an icon, use the MessageDlg function. |