Page 1 of 1

Last AddApplicationMenuItem Problem I PROMISE!!!

Posted: Fri Oct 23, 2009 12:42 pm
by johnham
When I add more than one Application Menu Item and set a different event handler for each of them. It would seem that only the last one gets applied to all of them.

For example:

Code: Select all

Ribbon.AddApplicationMenuItem("&Import Layout", new EventHandler(ImportReportLayout), ImportImage, 3);
Ribbon.AddApplicationMenuItem("&Export Layout", new EventHandler(ExportReportLayout), ExportImage, 6);
In this example both Menu items I have added here show up on the menu but both menu items trigger the ExportReportLayout event handler.

Last AddApplicationMenuItem Problem I PROMISE!!!

Posted: Sat Oct 24, 2009 1:47 am
by Jan
Hello John,

Problem solved. Please check your EMail.

Thank you.