![]()  | 
 
How to move from Ribbon-Backstage to Tabs by code? | 
 
    Post Reply  
   | 
  
| Author | ||
   
   yoavo  
   
   Senior Member  
   Joined: 29 February 2004 Location: Israel Status: Offline Points: 140  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: How to move from Ribbon-Backstage to Tabs by code?Posted: 30 July 2013 at 2:49am  | 
 |
| 
   
    
   
Hi, 
   
  I am using the Ribbon Backstage and I need that clicking on a button that belongs to on of the backstage dialogs will cause the tabs area to be active (and not the backstage). How can I do it ? Yoav. 
    | 
 ||
![]()  | 
 ||
   
   ATRML  
   
   Newbie  
   Joined: 23 January 2014 Location: Boise, ID Status: Offline Points: 5  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 23 January 2014 at 2:41pm | 
 |
| 
   
    
   This is also an issue for me; I'm working on it currently.  I'll let you know if I solve it.
    
   
   | 
 ||
![]()  | 
 ||
   
   ATRML  
   
   Newbie  
   Joined: 23 January 2014 Location: Boise, ID Status: Offline Points: 5  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 23 January 2014 at 2:54pm | 
 |
| 
   
    
   That didn't take long; haha!  I looked in the source of the CXTPRibbonBackstageView class, and saw that it had an OnCancel() handler which just looks like this: 
   
  
 Since SetTrackingMode() is the function that does what we want, and is private/protected, I think the best way to trigger this is as follows: 1. Maintain a pointer to the CXTPRibbonBackstageView in your page classes; 2. When you want to 'close' the backstage, do the following: 
 This worked for me! 
    | 
 ||
![]()  | 
 ||
    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  |