Print Page | Close Window

RibbonBar Tab Change Event Handler

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=17832
Printed Date: 06 October 2024 at 3:32am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: RibbonBar Tab Change Event Handler
Posted By: ayegorov
Subject: RibbonBar Tab Change Event Handler
Date 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



Replies:
Posted By: SuperMario
Date 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"

.....


Posted By: ayegorov
Date Posted: 07 February 2011 at 4:34pm
Works perfectly, thank you!



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net