Message Dialog Components
| Release: | 2.3 | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Date: | 28 August 2010 | ||||||||||||||||||||||||||||
|
Delphi Compatibility:
|
|
- Overview
- Download
- Install Info
- Change Log
- License
Overview
This unit provides various customisable message dialog box components. Three components are installed on the component palette. They are:
- TPJWinMsgDlg
- This component wraps the Windows MessageBoxIndirect API call and displays a message box based on that provided by Windows. This component will be suitable for most purposes and has the lighter footprint.
- TPJVCLMsgDlg
- This component uses the Delphi VCL CreateMessageDialog function to create a form based message box. (CreateMessageDialog is used by the standard Delphi MessageDlgXXX functions). The component provides more flexibility than either the Delphi functions or TPJWinMsgDlg. It should be used when it is necessary to display buttons or combinations of buttons that are not supported by the Windows API message box or when a finer degree of control over the appearance and behaviour of the message box is required. TPJVCLMsgDlg supports all the features of TPJWinMsgDlg and extends them. The dialog box component's form can been customised by handling the OnShow and OnHide events.
- TPJMessageDialog (deprecated)
-
This is an updated version of the component supplied in release 1 of this unit. Various bugs have been fixed and the handling of user icons improved. This component is only provided for backwards compatibility with existing projects that use the old version. It exposes the same properties as the old component. Some of these properties vary from those common to TPJWinMsgDlg and TPJVCLMsgDlg. You should use TPJWinMsgDlg or TPJVCLMsgDlg in new projects.This component may be dropped from future releases.
Documentation
The components are documented in the Message Dialog Components Wiki.
There is also an FAQ page hosted on the DelphiDabbler Wiki.
Users of Delphi versions 4 to 7 can also make use of the help file that is included in the download. It integrates with the Delphi 4-7 help system. The help file is a WinHelp file and therefore does not work on Windows Vista unless WinHelp has been downloaded and installed. See Microsoft Knowledge Base Article KB917607 for further information.
Demo Program
A demo program with associated explanatory help file is included in the download. The demo exercises each of the three components. It comes supplied with demo help files to enable experimentation with the components' HelpFile and HelpContext properties.
Feedback
If you find any bugs or want to suggest a new feature please report them
using the Issue Tracker. Be sure to tag any issues as Project-msgdlg. If you have
created a bug fix or have implemented a new feature please attach a zip file
or diff containing your source code.
If you have any other comments please contact me.



