Message 1 of 4
Dynamically controlling menu content in a cui
Not applicable
03-17-2008
01:44 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have VBA code which controls just how much of a custom drop down menu is displayed. Basically the VBA code presents 4 menu items by default when the user starts a new drawing or opens an existing one. Then, dependent on the existence of an identification block will also display a further 12 items. This has worked well since I developed it for v2000 (we're currently using v2005).
However we are migrating to 2008 and, whilst the code still works at drawing creation and opening, when the user changes workspace the menu disappears. I can't find a reactor that will trigger when the workspace changes so I can only think that I will have to create the menu dropdown in an Enterprise cui to make sure it stays on screen.
But can anyone advise how I can duplicate the testing for the identification block to control menu item display in the cui?
However we are migrating to 2008 and, whilst the code still works at drawing creation and opening, when the user changes workspace the menu disappears. I can't find a reactor that will trigger when the workspace changes so I can only think that I will have to create the menu dropdown in an Enterprise cui to make sure it stays on screen.
But can anyone advise how I can duplicate the testing for the identification block to control menu item display in the cui?