|
At this point, you might want to enter the program code assocated with the menu. Each menu item is a component available in the VB 6 code editor. The only event for these components is the Click event.
To create a new top level menu, click the left arrow to move back to the left margin. The left and right arrow keys control the level of the menu items and the up and down arrow keys control which menu item is being edited. In a completed menu, the menu items that will appear from left to right on the form also appear from top to bottom in the Menu Editor. Clicking OK creates (or changes) the menu in the form. After the menu has been created, you can change the properties of the menu like any other component, either in your VB program (run time) or in advance (design time). In fact, it only makes sense to change the Enabled or Visible properties at run time. Why create a menu item if it is disabled or invisible? The only reason is that you plan to enable it or make it visible in your program.

Next page >
The Other VB 6 Menu Editor Options > Page
1,
2,
3,
4,
5
|