If I add at runtime new MenuItems to the Menu which I'm using in the property MergeMenu, then the displayed Menu isn't changed. With RB 7.04 it works fine.
My guess is that it is a timing issue. The intent of the MergeMenu is to enable design-time definition of report items. At run-time RB uses the information to build the menus.
To programmatically modify the menu, I recommend accessing the Designer's menu bar directly. The follow example shows how to customize the menus and toolbars for the RB 10 designer.
Comments
My guess is that it is a timing issue. The intent of the MergeMenu is to
enable design-time definition of report items. At run-time RB uses the
information to build the menus.
To programmatically modify the menu, I recommend accessing the Designer's
menu bar directly. The follow example shows how to customize the menus and
toolbars for the RB 10 designer.
www.digital-metaphors.com/tips/Designer10_CustomizeMenusAndToolbars.zip
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com