Watch, Follow, &
Connect with Us



ID: 18870, ActionBand Popup Menu Component (see D7 patch below)

by Steve Trefethen Email: Anonymous


Included with D7 ActionBand patch. ActionBand popup menu component that brings ActionBand menu styles to popup menus.
Download Details
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 7.0  to 7.0 2222 downloads
Copyright: All rights reserved


Terms of use: Embarcadero Public Beta Test Disclaimer


Size: 7,876 bytes
Updated on Fri, 18 May 2007 13:43:34 GMT
Originally uploaded on Mon, 23 Sep 2002 13:43:34 GMT
SHA1 Hash: 9925B379BD6EEE81837ED3DA733A7FDC7941DC1D
MD5 Hash: 1924F373F8E7127588F08FE779B3816A

    Explore the files in this upload

Description
This component is included with the ActionBand patch that is now available for Delphi 7.0. You can download the patch wth this URL: http://codecentral.borland.com/codecentral/ccweb.exe/listing?id=19151

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.

HOW TO INSTALL THE COMPONENT
Unzip the included files into a directory of your choice
1. Launch Delphi
2. Choose File|Open and select dclABPopup.dpk
3. From the package manager window click the install button to compile and install the component.

You should now have successfully installed the TActionPopupMenu component onto the Additional tab of the component palette.

USAGE

TActionPopupMenu is a descendant of TPopupMenu so using this component is very similar to using a TPopupMenu. From the component drop a TActionPopupMenu onto your form Add either XPStyleActnCtrlsEx or StdStyleActnCtrlsEx to your uses clause depending on which style you would like to use in your application. If you want to support both styles then you need to add both units to your uses clause.
(The reason for this step is because the TActionPopupMenu is itself style independent and adding one of these units allows you to control which style popup menus you would like in your application)
Populate and use the menu as you would a normal TPopupMenu

NOTE: It is not necessary for the items in your menu be linked an action.

What controls the style that the TActionPopupMenuBar uses?
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.

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.

Copyright (c) Borland Software Corporation 2002

For more information, see http://www.stevetrefethen.com/blog

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Server Response from: ETNACDC01