The file PJHKEYPropEdit.pas
(included in hkeyed.zip
)
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 the later releases of that component.
The property editor has been tested with Delphi 2, 3 and 4. 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
.
hkeyed.zip
into a 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.
hkeyed.zip
into a 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.
$(DELPHI)\lib\dclusrXX.dpk
(where XX=30 for Delphi 3 and XX=40 for Delphi 4).
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.
None at present.
Unreleased
v1.0 of 28/09/2000
Release 1.0.1 of 08/10/2000
v1.0.1 of 08/10/2000
The source code for this property editor 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 [email protected].
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 [email protected].