Unit SolutionsUnlimitedPathEd

------------------------------------------------------------------------------- Name : SolutionsUnlimitedPathEd.pas Author : Robert Kozak Date : November 1, 1997 Copyright : © 1997 Solutions Unlimited. All Rights Reserved. Version : 3.5 Last Updated : January 1, 1998 Description : This is an expert for managing the Paths in Delphi. Notes: Version History =============== Version 1.0 - Internal - New Search path did not become active until Delphi was restarted. Version 1.5 - Internal - Added Hooks into Delphi to refresh the Search path without restarting. - Added the sync with packages option. Version 2.0 - Release version. - Added 'Sort' Popup menuitem to alphabetically sort the path list. (Anyone actually use this?) Version 2.01 - Internal - Fixed a bug that kept adding directories to the list each time it was created. Version 3.02 - Release - Removed dependancies on third party components with large runtime Libraries. (DPLs are now alot smaller) - Added 'Add Sub Dirs' checkbox to the Add Directory. - Added AboutBox Version 3.5 - Release - Fixed bug with btnUpClick and btnDownClick. It seems the State of an Item in a TCheckListBox gets erased when calling the Exchange function. I was using Raize custom components before and it worked correctly so I didn't notice this until someone brought it to my attention. - Added an AddIn Notification so Delphi would notify me when Packages were added or removed. - Added AddPath and RemovePath procedure to make things easier. - Changed the names of the Units in PathEX10 to avoid possible conflicts -------------------------------------------------------------------------------

Classes

TfrmSetPath -
TPackageNotifier -
TPathEdExpert -

Functions

AddPath -
Register - ------------------------------------------------------------------------------
RemovePath - ------------------------------------------------------------------------------

Types

Constants

DELPHI_3_DISABLED_PACKAGES
DELPHI_3_FULLPATH
DELPHI_3_KNOWN_PACKAGES
DELPHI_3_PATH
DELPHI_3_PATHHISTORY
DELPHI_3_PATH_KEY
DELPHI_3_SOLUTIONS

Variables

DoSubClass
frmSetPath
Path
PathEdExpert
WindowHook


Functions


procedure AddPath(Path : string);


procedure Register;

------------------------------------------------------------------------------

procedure RemovePath(Path : string);

------------------------------------------------------------------------------

Types


Constants

DELPHI_3_DISABLED_PACKAGES = '\Software\Borland\Delphi\3.0\Disabled Packages'

DELPHI_3_FULLPATH = '\Software\Borland\Delphi\3.0\Library\FULLPath\'

DELPHI_3_KNOWN_PACKAGES = '\Software\Borland\Delphi\3.0\Known Packages'

DELPHI_3_PATH = '\Software\Borland\Delphi\3.0\Library\'

DELPHI_3_PATHHISTORY = '\Software\Borland\Delphi\3.0\HistoryList\hiLibraryPath'

DELPHI_3_PATH_KEY = 'SearchPath'

DELPHI_3_SOLUTIONS = '\Software\Borland\Delphi\3.0\Solutions\'


Variables

DoSubClass : Boolean

frmSetPath : TfrmSetPath

Path : string

PathEdExpert : TPathEdExpert

WindowHook : HHook