[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Displays the specified message text.
Source position: dialogs.pp line 730
procedure ShowMessage( |
const aMsg: string |
); |
aMsg |
|
A string constant containing the message to be shown. |
The simplest message dialog: takes a simple string as argument, displays it in a 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; the box is displayed, receives focus, and does not relinquish focus until the OK box is clicked or otherwise selected.
|
Display an message dialog with response buttons. |
Program LazMessage; Uses Dialogs; begin ShowMessage ('This is a message from Lazarus') end.
Version 3.2 | Generated 2024-02-25 | Home |