The file PJHKEYPropEdit.pas
defines a property editor for
properties of type HKEY -- i.e. registry root keys. The editor causes a
drop-down list of all the registry root keys supported by Delphi to be
displayed in the object inspector for any property of type HKEY.
Such a property is exposed by my TPJRegWdwState component (available from my website). This property editor is included with current releases of that component.
The property editor has been tested with Delphi 2, 3, 4, 6 & 7. It is likely that it will work with Delphi 5, but this has not been tested. The editor is not compatible with Delphi 1 since this compiler does not support the registry.
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 containing the property editor into a
suitable folder, preserving the directory structure.PJHKEYPropEdit.pas
to the folder from where you wish
to install the property editor. This will probably be an existing folder
where you keep library components - say the default
$(DELPHI)\lib
sub-folder.PJHKEYPropEdit.pas
file in the folder where you placed
it. Click OK to recompile the component library.PJHKEYPropEdit.pas
from the place where
you copied it if you wish. The property editor will now be used for any
property of type HKEY in any of your components..zip
file containing the property editor into a
suitable folder, preserving the directory structure.PJHKEYPropEdit.pas
to the folder from where you wish
to install the property editor. This will probably be a sub-folder of
the $(DELPHI)\lib
folder.PJHKEYPropEdit.pas
and select the file.PJHKEYPropEdit.pas
from the place where you copied it if
you wish. The property editor will now be used by the object inspector
for any property of type HKEY in any of your components.None at present.
Release 1.0.2 of 30 October 2003
PJHKeyPropEdit v1.0.2 of 30 October 2003
Release 1.0.1 of 08 October 2000
PJHKeyPropEdit v1.0.1 of 08 October 2000
Unreleased
PJHKeyPropEdit v1.0 of 28 September 2000
This property editor is copyright © P.D.Johnson, 2000-2003.
The source code 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.