Returns or sets the name of the associated menu.
Object.MenuCommand [ = sMenuCommand ]
The MenuCommand property syntax has the following parts:
|
Name |
Type |
Description |
|
Object |
AToolBarButton |
AToolBarButton class |
|
sMenuCommand |
BString |
The name of the associated menu |
Clicking on the AToolBarButton object will generate the OnClick event for the associated AMenu object.
The following statement sets the name of the associated menu:
tbrbFileOpen.MenuCommand="mnuFileOpen"