R
RB Smissaert
Would it somehow be possible to trigger an event on right-clicking a
commandbar button?
These buttons are created like this:
Public cb2 As CommandBar
Set cb2 = CommandBars.Add("MyOptionsPopUp", _
msoBarPopup, _
MenuBar:=False, _
temporary:=True)
With cb2
Set FileControl = .Controls.Add(Type:=msoControlPopup)
With FileControl
.Caption = "File"
With .Controls.Add(Type:=msoControlButton)
.Caption = "Open report (F3 OR O from the treeview)"
.OnAction = "OpenReport"
.FaceId = 23
End With
etc.
The purpose is to trigger context sensitive help on the menu.
RBS
commandbar button?
These buttons are created like this:
Public cb2 As CommandBar
Set cb2 = CommandBars.Add("MyOptionsPopUp", _
msoBarPopup, _
MenuBar:=False, _
temporary:=True)
With cb2
Set FileControl = .Controls.Add(Type:=msoControlPopup)
With FileControl
.Caption = "File"
With .Controls.Add(Type:=msoControlButton)
.Caption = "Open report (F3 OR O from the treeview)"
.OnAction = "OpenReport"
.FaceId = 23
End With
etc.
The purpose is to trigger context sensitive help on the menu.
RBS