JEDI Online help - Details
\MessageDlg replacement with additional settings.
Msg - Contains the message to display.
DlgType - The dialog type.
Buttons - A list of buttons to display.
HelpCtx - Help context to use when the help button is clicked or F1 is pressed.
Center - Indicates how the dialog is to be centered. The default is to center on the screen, but you can specify to center on the main form or the active form.
DefaultButton - The button to mark as default. If you do not provide a default button, the
MessageDlg mechanism is used to determine the default button.
CancelButton - The button to mark as cancel. If you do not provide a cancel button, the
MessageDlg mechanism is used to determine the cancel button.
HelpButton - The button to mark as help. If you do not provide a help button, the button mbHelp will be used. If such a button does not exist, no button will be marked
Caption - The caption of the dialog.
Picture - A TGraphic descendant of the image to show or nil if no image should be shown.
Timeout - Description for this parameter
ADynControlEngine - Description for this parameter Result Returns the modal result of the displayed dialog.
\MessageDlg is a replacement for the MessageDlg function in Delphi's Dialog unit. It gives you more control over the appearance of the dialog.<br>
In its simplest form, it does exactly the same as the MessageDlg function in Delphi's Dialogs unit, but has three optional parameters that allow you to choose different default, cancel and/or help<br>
The second form allows you to provide a different caption of the dialog, but otherwise does the same as the first form.<br>
The third form allows you to provide both a different caption as well as a different image.<br>
If you need more control over button captions and results, use MessageDlgEx instead.<br>
If the user presses Ctrl-C in the dialog, the contents of the dialog is copied to the clipboard.<br>
<TITLE MessageDlg function>
Last changed by obones on 2009-01-04 21:50:53 CET
Copyright (c) 2004 by the JVCL Team; all rights
Uses PclZip by
phpconcept and parts of the PEAR