Delphi 7 (only) TActionPopupMenu Component Release Notes |
September 2002 |
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.
NOTE: It is not necessary for the items in your menu be linked an action.
TActionPopupMenu is a style independent ActionBand popup menu. It has been implemented so that it can utilize any of the ActionBand menu styles. The component works specifically with the ActionBands features of Delphi 7.0 available in the Professional and Enterprise level products. If you do not use the ActionBands features of VCL then this component offers no additional benefit.
The popup menu will try to get its style from its ActionManager property if it is assigned, otherwise it will use the default (first registered) ActionBand style from the ActionBarStyles variable located in ActnMan.pas. Additionally, this component uses an internal ActionManager so that it can support visual form inheritance.
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.
Copyright (c) Borland Software Corporation 2002