Logged out, click to login

JEDI Online help - Details



Back to unit JvDSADialogs.pas Back Edit Search Administration

MessageDlgEx@string@string@TGraphic@array of string@array of Integer@Longint@TDlgCenterKind@Integer@Integer@Integer@Integer@TJvDynControlEngine

Summary
\MessageDlg extension with additional settings.

Parameters
Msg - Contains the message to display.
DlgType - The dialog type.
Buttons - List of button captions.
Results - List of result codes.
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 first button is marked as default. If you do not want a default button, set this
parameter to -1. This parameter is an index into the Buttons/Results array.
CancelButton - The button to mark as cancel. If you do not provide a cancel button, the second button is marked as cancel. If you do not want a cancel button, set this
parameter to -1. This parameter is an index into the Buttons/Results array.
HelpButton - The button to mark as help. If you do not provide a help button, no button will be marked as help. This parameter is an index into the Buttons/Results array.
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.

Description
MessageDlgEx is an extension of Delphi's \MessageDlg function and an extension of JvDSADialog's<br> MessageDlg that gives you more control over the appearance of the dialog.<br> <br> MessageDlgEx allows to specify custom button captions and result codes for the dialog. Just as<br> JvDSADialog's MessageDlg, MessageDlgEx has three forms that allow you to customize its appearance.<br> Note<br> If the user presses Ctrl-C in the dialog, the contents of the dialog is copied to the clipboard.<br>

Extra information
<TITLE MessageDlgEx function>

See Also
DSAMessageDlgEx, MessageDlg

JVCL Information
GROUP=JVCL.Dialogs.Custom
FLAG=Routine,NotInParentList

Last changed by obones on 2009-01-04 21:50:53 CET

Copyright (c) 2004 by the JVCL Team; all rights reserved
Uses PclZip by phpconcept and parts of the PEAR library