This unit contains a set of three speed button derived components that either display pop-up menus associated with the buttons or form connected button / menu button pairs. The components are:
The unit is compatible with Delphi 4. It may work correctly in Delphi 5 but this has not been tested.
.zip
into a folder of your choice,
preserving the directory structure. PJMenuSpeedButtons.pas
,
PJMenuSpeedButtons.dcr
and
PJMenuSpeedButtons.res
to where you wish to install into
Delphi. This will probably be a sub-folder of the
$(DELPHI)\lib
folder.PJMenuSpeedButtons.pas
from the file dialog
and click OK to return to the Install
Component dialog box.PJMenuSpeedButtons.pas
from the place
where you copied it if you wish (but ensure that the .dcu
files are not deleted). The component will appear on a palette called
DelphiDabbler. The other code in the unit can be made available
simply by use-ing the unit in your projects. You can
move the components to a different palette as required.PJMenuSpeedButtons.hlp
to whichever folder you
wish to install it to.DelphiX.ohl
(in
$(DELPHI)\Help
), adding the line
:Link PJMenuSpeedButtons.hlp
to the end of
the section labelled "Third party help".DelphiX.ohi
(in
$(DELPHI)\Help
), adding the line
:Index DelphiDabbler Menu Speed
Buttons=PJMenuSpeedButtons.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 PJMenuSpeedButtons.hlp
to the end of
the section labelled "Third party help".D7.ohi
(in
$(DELPHI)\Help
), adding the line
:Index DelphiDabbler Menu Speed
Buttons=PJMenuSpeedButtons.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
PJMenuSpeedButtons.hlp
whose value is the path
where you copied the help file (probably
($DELPHI)\Help
).No bugs reported to date.
Release 1.0.1 of 11 September 2003
PJMenuSpeedButtons.pas 1.0.1 of 11 September 2003
Release 1.0 of 23 June 2001
PJMenuSpeedButtons.pas v1.0 of 23 June 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.