Re: event with commanbar button right_click?
- From: "Veign" <NOSPAMinveign@xxxxxxxxx>
- Date: Tue, 11 Oct 2005 21:42:15 -0400
If this a DotNet question? What CommandBar?
--
Chris Hanscom - Microsoft MVP (VB)
Veign's Resource Center
http://www.veign.com/vrc_main.asp
Veign's Blog
http://www.veign.com/blog
--
"RB Smissaert" <bartsmissaert@xxxxxxxxxxxxxxxx> wrote in message
news:OttrgYrzFHA.904@xxxxxxxxxxxxxxxxxxxxxxx
> 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
>
.
- Prev by Date: Re: Beginner needs help with text files
- Next by Date: Re: Is there a more elegant way to do this?
- Previous by thread: Re: Is there a more elegant way to do this?
- Next by thread: Re: event with commanbar button right_click?
- Index(es):