This unit provides various customisable message dialog box components. Three components are installed on the component palette. The installed components are:
The components are known to be compatible with Delphi 4, 6 and 7 and are believed to be compatible with Delphi 2, 3 and 5. The help file integrates with the IDE of Delphi 3 and later versions.
In these instructions $(DELPHI)
is to be taken
to represent the path where the appropriate version of Delphi was installed.
For example, if you have Delphi 2 installed on the default installation path
then $(DELPHI)
is equivalent to
C:\Program Files\Borland\Delphi 2.0
.
.zip
file into a folder.PJMessageDialog.pas
,
PJMessageDialogDsgn.pas
,
PJMessageDialogDsgn.dfm
and
PJMessageDialog.dcr
to the folder from where you wish to
install the component into the Delphi Component Palette. This will
probably be an existing folder where you keep the library components -
say the default $(DELPHI)\lib
folder.
PJMessageDialog.pas
and
PJMessageDialogDsgn.pas
file in the folder where you placed
it. Click OK to recompile the components library.PJMessageDialog.pas
and
PJMessageDialogDsgn.pas
from the place where you copied
them if you wish. The components will appear on a palette called
DelphiDabbler. You can move the component to a different
palette as required.Note: the help file is designed for use with Delphi 3 and later and is not compatible with Delphi 2.
.zip
file into a folder of your
choice, preserving the directory structure.PJMessageDialog.pas
,
PJMessageDialogDsgn.pas
,
PJMessageDialogDsgn.dfm
and
PJMessageDialog.dcr
to where you wish to install into
Delphi. This will probably be a sub-folder of the
$(DELPHI)\lib
folder.PJMessageDialog.pas
and
PJMessageDialogDsgn.pas
from the file dialog and
click OK to return to the Install Component
dialog box.PJMessageDialog.pas
and
PJMessageDialogDsgn.pas
from the place where you copied
them if you wish (but ensure that the .dcu
files are not
deleted). The component will appear on a palette called
DelphiDabbler. You can move the components to a different
palette as required.PJMessageDialog.hlp
to whichever folder you
wish to install it to.DelphiX.ohl
(in
$(DELPHI)\Help
), adding the line
:Link PJMessageDialog.hlp
to the end of
the section labelled "Third party help".DelphiX.ohi
(in
$(DELPHI)\Help
), adding the line
:Index DelphiDabbler Message
Dialogs=PJMessageDialog.hlp
towards the end of
the index section.DelphiX.cnt
(in
$(DELPHI)\Help
), ensuring that the lines
:Include delphiX.ohi
and :Include
delphiX.ohl
appear somewhere in the file.D7.ohl
(in
$(DELPHI)\Help
), adding the line
:Link PJMessageDialog.hlp
to the end of
the section labelled "Third party help".D7.ohi
(in
$(DELPHI)\Help
), adding the line
:Index DelphiDabbler Message
Dialogs=PJMessageDialog.hlp
towards the end of
the index section.D7.cnt
(in
$(DELPHI)\Help
), ensuring that the lines
:Include d7.ohi
and
:Include d7.ohl
appear somewhere in the
file.HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Help
and add a new string value named
PJMessageDialog.hlp
whose value is the path
where you copied the help file (probably
($DELPHI)\Help
).PJMessageDialog.hlp
, so this file should be installed as
described above before running the demo.All reported bugs have been fixed in release 2.0
Release 2.0 of 05 October 2003
PJMessageDialog v2.0 of 05 October 2003
Release 1.0 of 06 April 2001
PJMessageDialog v1.0 of 30 March 2001
This component is copyright © P.D.Johnson, 2001-2003.
The source code and help files can be freely distributed on a not-for-profit basis providing that:
By not-for-profit I mean that you may recover out of pocket expenses incurred in distributing the code, but should not make a profit from this.
If you discover any bugs in this implementation, or if you have any update suggestions, please contact me via my website.
Please do modify the code for you own use. I'd like to see any changes you make - I could incorporate them into future versions. Please notify me of changes on at the above e-mail address.
This software is provided as is - no warranty is given as to its suitability for any purposes to which you may wish to put it.
I'm Peter Johnson - a hobbyist programmer living in Ceredigion in West Wales, UK. I write mainly in Delphi. My programs are available for download on my web-site: http://www.delphidabbler.com/.
I can be contacted via the website.