Unit 'MUIClass.Dialog' Package
[Overview][Types][Classes][Procedures and functions][Index] [#MUIClass]

ShowMessage

A Messagebox with configurable Text and a Ok Button

Declaration

Source position: MUIClass.Dialog.pas line 104

procedure ShowMessage(

  Text: string;

  HeadText: string = 'Message';

  OKText: string = '_OK'

);

Arguments

Text

  

Text to show in the Messagebox

HeadText

  

Text in the Window title of the Messagebox, when this parameter is not supplied 'Message' is used.

Description

Example:

ShowMessage('Everything ok');
ShowMessage('Something went wrong', 'Warning');

See also

MessageBox()

  

Open a MessageBox with Text and configurable Buttons


Documentation generated on: 2024-11-23