How do I get to the Data tab menu in code
I wish to add several items to the Data tab - menu in the report designer.
How do I get to that menu in code?
When I add items to the designer main menu, I use:
lMenuBar := ppDesigner.Form.MainMenu;
lDesignerMenu := TppDesignerMenu( lMenuBar )
and then I add or remove items from this object ( lDesignerMenu.FileMenu )
Probably very simple. I am just not finding it. The menu changes with the
tabbed notebook the designer is currently on, so that must be the trick.
Thanks ahead of time.
Bill Brittain
How do I get to that menu in code?
When I add items to the designer main menu, I use:
lMenuBar := ppDesigner.Form.MainMenu;
lDesignerMenu := TppDesignerMenu( lMenuBar )
and then I add or remove items from this object ( lDesignerMenu.FileMenu )
Probably very simple. I am just not finding it. The menu changes with the
tabbed notebook the designer is currently on, so that must be the trick.
Thanks ahead of time.
Bill Brittain
This discussion has been closed.
Comments
Take a look at the following rbWiki article on hiding DADE menu items. The
same concepts will apply.
http://www.digital-metaphors.com/rbWiki/End-User/Designer/How_To...Hide_DADE_Menu_Items
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com