» Contents
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. This property editor is included with current releases of that component.
» Contents
The property editor compiles and works with all versions of Delphi from Delphi 2. It has been tested with Delphi 2, 3, 4, 5, 7 and 2006.
» Contents
The HKEY Property Editor and its readme file are supplied in a zip file. Before installing you need to extract all the files from the zip file, preserving the directory structure. The following files will be extracted:
PJHKEYPropEdit.pas
– property editor
source code.
ReadMe.htm
– this file.
ChangeLog.txt
– change log.
You can now proceed to install the property editor. Installation methods
vary between Delphi versions, so follow the instructions that apply to your
version below. Note that $(DELPHI)
represents
the path where the appropriate version of Delphi was installed. Similarly
$(BDS)
refers to the installation path of a
version of the Borland Development System.
The property editor must be installed into a Delphi Win32 design package. It
is assumed that you will be installing into an existing package. You may
decide to install into the "user" package:
$(BDS)\Lib\dclusr.dpk
.
Borland Studio
Projects
or $(BDS)\lib
folders.
PJHKEYPropEdit.pas
to the chosen installation folder.
.bpl
extension. Right click the package's entry and
select Add to display the Add dialog box.
Enter the full path to PJHKEYPropEdit.pas
in the
Unit file name edit box (use the Browse button
to navigate to the file). Click OK to add the property
editor to the package.
PJHKEYPropEdit.pas
appears under the package's
Contains node. If so, right click the package's entry
again and select Compile. The property editor will now
be installed and available for use.
PJHKEYPropEdit.pas
from the
chosen installation folder.
The property editor must be installed into a design package. It is assumed
that you will be installing into an existing package. You may wish to use
the "user" package named dclusr.dpk
or
dclusrXX.dpk
(where XX
is a version number). This
package can be found in $(DELPHI)\Lib
.
$(DELPHI)\lib
folder.
PJHKEYPropEdit.pas
to the chosen installation folder.
PJHKEYPropEdit.pas
in the Unit file
name edit box (use the adjacent Browse button to
navigate to the file). Choose the required package from the
Package description combo box, or by navigating to the
package using Browse. Click OK to confirm your
selections.
PJHKEYPropEdit.pas
from the chosen
installation folder.
$(DELPHI)\lib
folder.
PJHKEYPropEdit.pas
to the chosen installation folder.
PJHKEYPropEdit.pas
from the resulting standard file
open dialog box and click Open.
PJHKEYPropEdit.pas
from the
chosen installation folder.
» Contents
A complete change log is provided in a text file that is included in the download.
» Contents
This source code is subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this program except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/.
Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
The Original Code is PJHKEYPropEdit.pas (HKEY Property Editor).
The Initial Developer of the Original Code is Peter Johnson (http://www.delphidabbler.com/).
Portions created by the Initial Developer are Copyright © 2000-2005 Peter Johnson. All Rights Reserved.
All relevant trademarks are acknowledged.
» Contents
I'm Peter Johnson – a hobbyist programmer living in Ceredigion in West Wales, UK, writing write mainly in Delphi. My programs are available for download from: http://www.delphidabbler.com/.