Delphi 7.0 ActionBands Update Release Notes | October 2002

This file update applies specifically to the ActionBands feature of Delphi 7.0 available in the Professional and Enterprise level products. If you do not use the ActionBands features of VCL then this update is unnecessary.

#### IMPORTANT INFORMATION

- This update requires that you already have Delphi 7.0 Professional or Enterprise installed.
- The update applies only to the ActionBands feature of VCL.
- No changes have been made to the interface section of any of the included units therefore the update maintains binary compatibility with other packages/DCU's
- NEW!! component, TPopupActionBarEx that can be used to replace existing TPopupMenu components to give them the same look and feel of ActionBand menus. If you have previously installed this component you should remove it from the palette prior to applying the patch.
- The ActionBand runtime package must be copied manually, do not forget this step otherwise you will run into errors starting the IDE

#### INSTALLING THE UPDATE

These steps will apply the ActionBands patch to an existing install of Delphi 7.0.

1. If you previously installed TPopupActionBarEx you should remove that component from the palette since it is inlcuded in the updated design-time package
2. Close Delphi if it is running and any other applications using the Delphi runtime packages
3. Extract the files in the ActionBands.zip file to a temporary directory
4. Run Update.exe (included in the zip file) from your temporary directory
5. Select your Delphi 7.0 directory (for example \Program Files\Borland\Delphi7) as the directory to update
6. Click the Browse button and select the file ActionBands.upd from your temp directory
7. Click the Update button
8. On the Update Completed dialog click OK
9. Click the Close button to complete the automatic update
10. Locate in the windows system directory your copy of vclactnband70.bpl and replace it with the file included in this zip file.

#### UNINSTALLING THE UPDATE

This will restore all of the ActionBand related files back to the original Delphi 7.0 files.

1. Make sure you have Delphi 7.0 installed
2. Close Delphi if it is running and any other applications using the Delphi runtime packages
3. Insert your Delphi 7.0 CD into your CD-ROM drive
4. Run UndoABUpdate.bat (included in the zip file)

#### NEW ACTIONBAND POPUP MENU COMPONENT

Delphi 7.0 did not ship with popup menu support for ActionBands and this component serves to compliment the menu functionality by implementing ActionBand style popup menus. TActionPopupMenu can be used as a replacement for TPopupMenu when a consistent menu style is desired. With this component and using ActionBands in Delphi 7 it is possible to develop applications that have a complete Microsoft Office XP menu style.

#### WHERE TO FIND MORE INFORMATION

For more information on ActionBands and other useful Delphi tips make sure to take a look at http://www.geocities.com/delphihelp or the mirror site at http://homepages.borland.com/strefethen.

Software used to create this update
Of interest may be the update application which is freeware Delphi code available here: http://www.tsppd.com/MakeUpdate/

#### LIST OF FIXES INCLUDED WITH THIS UPDATE

- Standard menu color scheme now correctly handles the flat menu style (see SPI_GETFLATMENU in MSDN).
- Fixed an issue regarding auto hotkey calculation.
- Fixed transparent painting problem for actionbands with background bitmaps.
- Fix an issue where the application hint wasn't being updated correctly.
- Fixed issues with TActionMainMenuBar not functioning correctly in MDI applications.
- Fixed issue with setting ActionBand popup menu colors correctly.
- Fixed F1 help on ActionBand menus.
- Fixed issue regarding ActionBand menus no longer respond to Ctrl-key combinations.
- Fixed problems related to positioning menus with Ctrl-arrow key combinations.
- Fixed menu items so they can be selected with the right mouse button.
- Fix to allow arrow keys to function within a menu even if the Alt key held down pressed.
- Fixed popup menu shadows not appearing on Windows 2000.
- Fixed Customize dialog to show actions from linked ActionLists correctly.
- Fixed TActionManager.AddSeparator method so separators get added correctly.
- Fixed a bug so that a submenus parent item is reselected if the mouse leaves the parent item but passes over the submenu before it closes.
- Improved the drawing of the XP style menu buttons.
- Fixed bug in Standard style menu button paint logic.
- Fixed problems with TCustomizeActionBars action so that it will work even when it is not in a TActionManager but it's ActionManager property is assigned.
- Fixed drawing problems with dropdown buttons on TActionToolbar for both XP and Standard styles
- Fixed AV dragging a category over a menu item and then over a TActionToolBar

#### LIST OF FILES MODIFIED BY THIS UPDATE

    vclactnband70.bpl
    bin\dclact70.map
    bin\dclact70.bpl
    lib\vclactnband70.dcp
    lib\dclact.dcp
    lib\actnman.dcu
    lib\actnctrls.dcu
    lib\actnmenus.dcu
    lib\stdactnmenus.dcu
    lib\CustomizeDlg.dcu
    lib\CustomizeDlg.dfm
    lib\XPActnCtrls.dcu
    lib\XPStyleActnCtrls.dcu
    lib\StdStyleActnCtrls.dcu
    lib\bandactn.dcu
    lib\debug\actnman.dcu
    lib\debug\actnctrls.dcu
    lib\debug\actnmenus.dcu
    lib\debug\stdactnmenus.dcu
    lib\debug\CustomizeDlg.dcu
    lib\debug\bandactn.dcu
    lib\debug\XPActnCtrls.dcu
    lib\debug\XPStyleActnCtrls.dcu
    lib\debug\StdStyleActnCtrls.dcu
    source\vcl\actnman.pas
    source\vcl\actnctrls.pas
    source\vcl\actnmenus.pas
    source\vcl\stdactnmenus.pas
    source\vcl\CustomizeDlg.pas
    source\vcl\CustomizeDlg.dfm
    source\vcl\bandactn.pas
    source\vcl\XPActnCtrls.pas
    source\vcl\XPStyleActnCtrls.pas
    source\vcl\StdStyleActnCtrls.pas