|  | 
| [Solved] Ribbonbar SaveState issue | 
| Post Reply   | 
| Author | |
| Willowmaster   Senior Member     Joined: 12 July 2010 Location: Netherlands Status: Offline Points: 180 |  Post Options  Thanks(0)  Quote  Reply  Topic: [Solved] Ribbonbar SaveState issue Posted: 04 June 2011 at 10:36am | 
| 
   Hi all,
 I'm using the Suitpro V15.0.2 trail components to see if we can integrate the new 2010 theme  into our application. We use the saving mechanism to a XML string, but when loading the string back the Ribbon is not loaded properly. I'm wondering if this is something wrong with my code or with the saving mechanism of Codejock. If you use the RibbonSample and replace the Else part of the Case in function frmMain.Commandbars.Execute with the following code the ribbon has no controls anymore except for the qat: 
 Start the program and click on File->Save to activate the code. Does anyone have a clue? It has no use for us to buy the new version if we can't save the ribbon. Thanks in advance. | |
| 
     Product: Xtreme SuitePro (ActiveX) version 15.3.1  Platform: Windows XP (32bit) - SP 3 (on VMWare) Language: Visual Basic 6.0 | |
|  | |
| Oleg   Senior Member   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |  Post Options  Thanks(0)  Quote  Reply  Posted: 06 June 2011 at 6:51am | 
| 
   Hi, SaveState/LoadState is used to save and load user changes. in Ribbon user can change only QAT. If you add Ribbonbar.Customizable = True,  it can be changed. | |
| 
     Oleg, Support Team CODEJOCK SOFTWARE SOLUTIONS | |
|  | |
| Willowmaster   Senior Member     Joined: 12 July 2010 Location: Netherlands Status: Offline Points: 180 |  Post Options  Thanks(0)  Quote  Reply  Posted: 06 June 2011 at 7:07am | 
| Hi Oleg, The documentation states that the SaveOriginalControls saves all the controls from a Commandbar. Does this mean that the Ribbonbar is not a Commandbar? | |
| 
     Product: Xtreme SuitePro (ActiveX) version 15.3.1  Platform: Windows XP (32bit) - SP 3 (on VMWare) Language: Visual Basic 6.0 | |
|  | |
| Willowmaster   Senior Member     Joined: 12 July 2010 Location: Netherlands Status: Offline Points: 180 |  Post Options  Thanks(0)  Quote  Reply  Posted: 07 June 2011 at 9:56am | 
| 
   In other words. This is by design but not stated in the documentation as such?
We are taking a different approach in our program to avoid this problem, but I'm still curious.
    | |
| 
     Product: Xtreme SuitePro (ActiveX) version 15.3.1  Platform: Windows XP (32bit) - SP 3 (on VMWare) Language: Visual Basic 6.0 | |
|  | |
| Oleg   Senior Member   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |  Post Options  Thanks(0)  Quote  Reply  Posted: 08 June 2011 at 5:35am | 
| 
   Yes, Ribbonbar is exception and SaveOriginalControls don't change it without Customizable = True.
    | |
| 
     Oleg, Support Team CODEJOCK SOFTWARE SOLUTIONS | |
|  | |
| 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 |