Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - RibbonBar Tab Change Event Handler
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

RibbonBar Tab Change Event Handler

 Post Reply Post Reply
Author
Message
ayegorov View Drop Down
Newbie
Newbie
Avatar

Joined: 31 January 2011
Location: London, UK
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote ayegorov Quote  Post ReplyReply Direct Link To This Post Topic: RibbonBar Tab Change Event Handler
    Posted: 03 February 2011 at 4:49pm
Hi,

I would like to perform a custom action when user changes RibbonBar Tab in C# but
RibbonBar doesn't have any events to subscribe to.

Can this be done?

Kind regards,
Anatoliy
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 03 February 2011 at 10:07pm

Private Sub CommandBars_Execute(ByVal Control As XtremeCommandBars.ICommandBarControl)
    On Error Resume Next
    
    Select Case Control.Id
        Case 0:
       
        Case XTPCommandBarsSpecialCommands.XTP_ID_RIBBONCONTROLTAB:
            Debug.Print "Selected Tab is Changed"

.....
Back to Top
ayegorov View Drop Down
Newbie
Newbie
Avatar

Joined: 31 January 2011
Location: London, UK
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote ayegorov Quote  Post ReplyReply Direct Link To This Post Posted: 07 February 2011 at 4:34pm
Works perfectly, thank you!
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.