• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Visual Basic Menu Editor questions.

CPA

Elite Member
I have built a small menu on my form using the menu editor. When I am in design mode the menus open up as I click on the menu items (File, Edit, Options, etc). I have really no click code for any of the menu items, just the menu item names. Now when I run the program, the menu items show up, but when I click on them they do not open up like in design mode. Is this because I do not have a click event assigned for each main menu item? If so, what is the generic click event that should be assigned to each to open the menu? The book I am using does not indicate any click event code for such a process.

Secondly, when in design mode, when I click on File (main menu item), one of the menu items listed is Exit. It is greyed out in design mode. Any reason why? I have set it to enable = TRUE in the Form Load section of code, but it still shows greyed out in design mode. And of course, since File won't open in run mode, I can't see if it is greyed or not when the program is run. Will I see a difference in run mode?
 
Do you have all the service packs (SP5 is the latest). Sounds like a bug to me.

If I place a menu with a few items on a form, it behaves exactly as expected in both design and run mode for me.
 
Originally posted by: nbarb99
Do you have all the service packs (SP5 is the latest). Sounds like a bug to me.

If I place a menu with a few items on a form, it behaves exactly as expected in both design and run mode for me.

I don't think so. I just installed it and started putting something together last night. Will download the service packs and see if it helps.
 
Back
Top