TPJMessageDialog 2.2
In category
Components > Dialogs > Message Boxes
Description
This unit provides three customisable message dialog box components. Each component enables any of the standard Windows icons to be displayed in the message box, or the icon can come from a user defined icon resource. Various combination of buttons and titles can be displayed. The dialogs can also provide a Help button that calls a specified help topic in a nominated help file when clicked. The components are discussed below.
- TPJWinMsgDlg - This component wraps the Windows MessageBoxIndirect API call and displays a message box based on that provided by Windows. TPJWinMsgDlg will be suitable for most purposes and has a light 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. TPJVCLMsgDlg 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. From v2.2 the underlying dialog form can be cutomised using the new OnShow and OnHide events.
- TPJMessageDialog - 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 provided for backwards compatibility with release 1 and exposes the same properties as the old component. Some of these properties vary from those common to TPJWinMsgDlg and TPJVCLMsgDlg. It is recommended that TPJWinMsgDlg or TPJVCLMsgDlg are used in new projects.
An OpenHelp compatible help file is supplied that provides help on all the components. The help file integrates with the help system of Delphi 4 to 7. Although it does not integrate with the Delphi 2005 and later IDEs it can be used independently of the IDE, albeit with some loss of functionality. An a-link keyword (.als
) file is also supplied to assist in integration with Delphi 6 and 7 help.
A demo program is provided that exercises the three components.
Informations
- Status: Fully functional
- Source: FW
- Exe demo: included
- Size: 59 622kB
Platforms:
- Delphi 2005 (VCL)
- Delphi 2006 (Win32)
- Delphi 4
- Delphi 5
- Delphi 6
- Delphi 7
Downloads