[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Show Message
Source position: dialogs.pp line 508
procedure ShowMessage( |
const aMsg: String |
); |
aMsg |
|
A string constant containing the message to be shown. |
Procedure ShowMessage (const Msg: string);
The simplest message dialog: takes a simple string as argument,
displays it in a stereotyped box,
and waits for a mouse-click or enter-key event
before returning to the calling routine or program.
This is a modal procedure call,
that is the box is displayed, receives focus,
and does not relinquish focus until the OK box is clicked or otherwise selected.
|
Message Box: a useful function to display a message. |
Program LazMessage; Uses Dialogs; begin ShowMessage ('This is a message from Lazarus') end.
lazarus-ccr.sourceforge.net |