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.
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 4 installed on the default installation path
then $(DELPHI)
is equivalent to C:\Program Files\Borland\Delphi4
.
pjmenusbtn.zip
into a folder, preserving the
folder 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
and select it.
$(DELPHI)\lib\dclusrXX.dpk
(where XX=40 for Delphi 4).
PJMenuSpeedButtons.pas
from the place where
you copied it if you wish. The component will appear on a palette called PJ
Stuff. You can move the component to a different palette as required,
or alter the source code (before installing the program) by finding the Register
procedure at the end of the code and changing the string 'PJ stuff'
to the name of the required palette.
PJMenuSpeedButtons.hlp
to whichever folder you wish
to install it to.Delphi4.cfg
(in $(DELPHI)\Help
), adding
the line :Link PJMenuSpeedButtons.hlp
to the end of the section
labelled "Third party help".Delphi4.cnt
(in $(DELPHI)\Help
), adding
the line :Index PJSoft Menu Speed Buttons=PJMenuSpeedButtons.hlp
towards the end of the index section.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
).PJMenuSpeedButtonsDemo.dpr
, FmPJMenuSpeedButtonsDemo.pas,
FmPJMenuSpeedButtonsDemo.dfm
and PJMenuSpeedButtonsDemo.res
from the Demo
sub-folder to a folder (or use them in the
place where they were extracted).No bugs reported to date.
Release 1.0 of 23/06/2001
PJMenuSpeedButtons.pas v1.0 of 23/06/2001
This unit and help file are copyright © P.D.Johnson, 2001.
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 on peter.johnson@openlink.org.
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, but occasionally dabble in C, C++ and Java. My programs are available for download on my web-site: http://www.pjsoft.contactbox.co.uk/.
I can be contacted by e-mail on peter.johnson@openlink.org.