Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I edit the Menu on a VB6 form from the IDE?

Tags:

vb6

I have a small application which contains a form with a menu along the top. I wish to make changes to the menu, but can't seem to do so from within the VB IDE. Every time I click on it to select it, the code for the item clicked is displayed.

Does anyone know how to edit the menu bar from within the IDE?

(I could edit the .frm file to make the necessary changes but I am reluctant to do this if a "proper" way exists.)

like image 645
Brian Hooper Avatar asked Aug 11 '11 07:08

Brian Hooper


3 Answers

You can edit a VB6 menu in the IDE by bringing up the Menu Editor by selecting Tools > Menu Editor or by pressing Ctrl+E.

You can find fairly complete instructions here and here.

like image 134
Jay Riggs Avatar answered Oct 19 '22 22:10

Jay Riggs


Right click the form and select the Menu Editor option.

like image 38
Joe Jordan Avatar answered Oct 19 '22 22:10

Joe Jordan


Tools -> Menu Editor from the IDE menu bar.

The option should also be available on the Standard toolbar and the form context menu.

This modal dialog is only available when the form designer has focus.

like image 6
Michael Phillips Avatar answered Oct 19 '22 21:10

Michael Phillips