Last AddApplicationMenuItem Problem I PROMISE!!!

Stimulsoft Reports.NET discussion
Post Reply
johnham
Posts: 98
Joined: Fri Sep 19, 2008 2:27 pm
Location: Richland, WA, USA

Last AddApplicationMenuItem Problem I PROMISE!!!

Post 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.
Thanks,
John Hamilton
Hamilton & Company, LLC
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Last AddApplicationMenuItem Problem I PROMISE!!!

Post by Jan »

Hello John,

Problem solved. Please check your EMail.

Thank you.
Post Reply