![]()  | 
 
RibbonBar Tab Change Event Handler | 
 
    Post Reply  
   | 
  
| Author | |
   
   ayegorov  
   
   Newbie  
   Joined: 31 January 2011 Location: London, UK Status: Offline Points: 3  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: RibbonBar Tab Change Event HandlerPosted: 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 
    | 
 |
![]()  | 
 |
   
   SuperMario  
   
   Senior Member  
    
   Joined: 14 February 2004 Status: Offline Points: 18057  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     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" .....  | 
 |
![]()  | 
 |
   
   ayegorov  
   
   Newbie  
   Joined: 31 January 2011 Location: London, UK Status: Offline Points: 3  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 07 February 2011 at 4:34pm | 
 
| 
   
    
   Works perfectly, thank you!
    
   
   | 
 |
![]()  | 
 |
    Post Reply  
   | 
  |
|       
  
  Tweet   	
    | 
 
| Forum Jump | Forum Permissions  ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum  |