December 1999
Intermediate to advanced
480 pages
11h 5m
English
Figure 19.2 illustrates the structure of the menu items within Visio's object model hierarchy. You will notice that this structure is similar in concept to all of the remaining objects within the object model. Collections contain items and a property of an item is the collection below it.

Listing 19.2 is a skeleton code framework for accessing menu items.
Public Sub AccessAWeeMenueItem() Dim UIObj As Visio.UIObject Dim MenuSetsObj As Visio.MenuSets Dim MenuSetObj As Visio.MenuSet Dim MenusObj As Visio.MenuItems Dim MenuObj As Visio.Menu Dim MenuItemObj ... |
Read now
Unlock full access