Print Page | Close Window

Some Settings not saved

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=9322
Printed Date: 08 October 2024 at 11:00am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Some Settings not saved
Posted By: kickerskopp
Subject: Some Settings not saved
Date Posted: 16 January 2008 at 7:23am
Hi everyone...
 
In our app I allow the user to change basically the same settings as in the RibbonExample ( Theme , Animation , Font Size a.s.o. )
At the start of our app I call LoadCommandBars and in the end I call SaveCommandBars. This works real nice and usually settings like the theme and the Quick Access Toolbar are nicely restored.
 
However I found that the following are not restored that way:
  • Animation ( RibbonBar.EnableAnimation )
  • Font Size ( RibbonBar.FontHeight )
  • Auto Resize Icons ( CommandBars.PaintManager.AutoResizeIcons )
Do I have to store these settings myself ? If yes one further question !There is also a way to store f.e. the animation type in the options tab. Which setting does this one look at ?
BTW ! These three settings are also not restored in your RibbonSample !
 
Best Regards from Germany
 
Peter



Replies:
Posted By: Oleg
Date Posted: 16 January 2008 at 9:54am
Yes, you have to store these settings.

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: kickerskopp
Date Posted: 16 January 2008 at 11:39am
OK ! Fine with me...
 
I have however on further question !
If I enable the animation in my dialog and it is disabled in your customization option dialog which setting is taken and stored ?
 
Best Regards
 
Peter
 
P.S. I think the savest way is to remove it from my dialog... If the user wants to change it he/she can use your customization dialog !
 


Posted By: Oleg
Date Posted: 17 January 2008 at 2:28am
Hi,
 
Its CommandBars.Options.Animation property.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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