Macro Toolbar Display Wizard for Delphi 7
|Date:||10 June 2007|
The wizard source files along with supporting documentation are supplied in a zip file. Before installing you need to extract all the files from the zip file. The following files will be extracted:
ChangeLog.txt– change log.
DDabMacroTBarDisplay.dpk– package file that can be used to install the wizard.
DDabMacroTBarDisplayWiz.pas– wizard source code.
MPL.txt– the Mozilla public license.
ReadMe.htm– this file.
VDDabMacroTBarDisplay.res– binary resource file containing version information for the package.
VDDabMacroTBarDisplay.vi– version information source for compilation using the DelphiDabbler Version Information Editor.
Emphasised files may be used in the installation, others are source or documentation files.
You can now proceed to install the wizard. There are two possible ways to do this:
- By compiling and installing the provided package.
- By adding the wizard source code to a pre-existing design package.
Installation using the provided package
If necessary copy
VDDabMacroTBarDisplay.resto the folder where you wish to keep them.
Start Delphi and open
DDabMacroTBarDisplay.dpk. In the package window the Install button should now be enabled. Click this button to install the package. Dismiss the message that informs you that the package has been installed.
- Close the package window. Do not permit Delphi to save any changes.
- If the package has installed successfully you should see the macro recording toolbar in the editor window's status bar. If there is no editor window open, open a file in Delphi to display the window. In addition, a Display Macro Toolbar menu item should have appeared at the foot of the View menu.
To uninstall the wizard choose the Components | Install Packages menu option. In the resulting dialog box, scroll down the list of design packages until you find "DelphiDabbler Macro Toolbar Display Wizard". Select the package, click the Remove button and give permission to remove when prompted. Click OK. The macro toolbar will disappear from editor windows and the menu option will be removed. If you have configured any custom tool buttons to work with the wizard, they too will be removed.
Installation into a pre-existing package
If you don't want to install the provided package, you can add the wizard to
an existing design package, possibly the "user" package named
dclusr.dpk. This package can be found in
$(DELPHI) represents the path
where Delphi 7 is installed. Ensure that the package "requires"
designide.pas, which is also found in
Decide upon a suitable location into which to install the wizard. This
may be a subdirectory of your
DDabMacroTBarDisplayWiz.pasto the chosen installation folder. Note that this is the only file you need when installing into an existing package.
Start Delphi then:
Choose the Component | Install Component menu option to
display the Install Component dialog box. Ensure the
Into existing package tab is selected. Enter the full
DDabMacroTBarDisplayWiz.pasin 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.
- A confirmation dialog box may displayed, querying whether it is OK to rebuild and reinstall the package. Click Yes to proceed.
- The package will now be built. If this succeeds the wizard will now be ready for use and editor windows will display the macro toolbar in the status bar. A Display Macro Toolbar menu item should have appeared at the foot of the View menu.
- Choose the Component | Install Component menu option to display the Install Component dialog box. Ensure the Into existing package tab is selected. Enter the full path to
If you wish you can now delete
DDabMacroTBarDisplayWiz.pasfrom the chosen installation folder.
To remove the wizard, simply open the package into which you installed the
DDabMacroTBarDisplayWiz.pas and recompile the
package. The macro toolbar will disappear from editor windows and the
wizard's menu item and any custom tool buttons you added will be removed.
Close the package, accepting that changes should be saved.