Home Component Writing
New Blog Post: Email: Multi-Service

Submenu in component right-click popup-menu

edited August 2004 in Component Writing
Hi again

Is it possible to create a submenu in the components right-click menu.

Thanks in advance
Steffen Friismose

Comments

  • edited August 2004
    Hi Steffen,

    The TppPopupMenu menu descends from the TPopupMenu class. If you would like
    to create a submenu for a popup menu, you will need to use the TMenuItem.Add
    method on one of the parent menu items. See the Delphi help for more
    information on creating popup menus. You can also take a look in the
    TppDBImage.CreatePopupMenu procedure inside teh ppCtrls.pas file for an
    example of creating a sub menu in ReportBuilder.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.