Link to home
Start Free TrialLog in
Avatar of Clive Beaton
Clive BeatonFlag for Australia

asked on

Problem with Shortcut Menus

I have a shortcut menu for some reports so that the user can run a function to change the Report Settings (Fonts and sizes, etc.)   The reports are opened in Print Preview and the user right clicks on the report to get the shortcut menu.

 It has worked well for the past few years.  Now, it works on some reports but not others.  All other functions on the shortcut menu work as they should.  I have not touched this code since I wrote it.  I have attached a text file containing the code that creates the menu.

Can anyone suggest why this may be?

This problem is critical as it is delaying the release of an update to my product.

Thanks in advance.

CRB

Shortcut-Menu-code.txt
ASKER CERTIFIED SOLUTION
Avatar of Scott McDaniel (EE MVE )
Scott McDaniel (EE MVE )
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Like Scott,

I seriously doubt that this is a problem with the shortcut menu itself.  Have you put a breakpoint in your ReportSettings() function to see whether it is even getting to the function?  Does that function have error handling? Could it be encountering a problem and kicking you out of the function?

BTW,  Are you actually rerunning that code to recreate the menu each time you load your application?  If so, why?  Once you create that menu as a permanent menu, you should not need to mess with it again.
Avatar of Clive Beaton

ASKER

Thanks very much.  In the end I had to go back to backup.

CRB
Dale.  See related question.