Print Page | Close Window

StatusBar Cutomizer problem

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=11969
Printed Date: 07 October 2024 at 2:22pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: StatusBar Cutomizer problem
Posted By: Fabian
Subject: StatusBar Cutomizer problem
Date Posted: 26 August 2008 at 7:46am
Hi
 
Using 12.0.2 with VB6.
 
On Load of a Form I create the StatusBar with all needed panes and set .Visible to the previously saved state. Then I enable StatusBar cutomization. In the Unload event I save the .Visible status of all panes. So far so good.
 
But if I open the customizer window by right clicking the statusbar, the hidden pane has a visible-checkmark at left and changing the state in the customizer do not change the visible state of the pane!
 
Is it OK to track the .Visible property or do I miss something (which property was set by the customizer?)?
 
Thanks for any idea.


-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.3

Platform: Windows 7 (32bit)

Language: Visual Basic 6.0 / SP6



Replies:
Posted By: Oleg
Date Posted: 26 August 2008 at 11:46am

Hi,

Do you save/load  manually ? call SaveCommandBars/LoadCommandBars it will save them.


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


Posted By: Fabian
Date Posted: 27 August 2008 at 7:02am
Hi Oleg
 
I save Commandbars in our DB like:
 
myStateOptions.LoadSilent=True
myStateOptions.SaveOnlyCustomized=True
myStateOptions.SaveOriginalControls=False
myStateOptions.SerializeActions=True
myStateOptions.SerializeControls=True
myStateOptions.SerializeDesignerControls=False
myStateOptions.SerializeImages=False
myStateOptions.SerializeLayout=True
myStateOptions.SerializeOptions=True
 
CommandBars1.LoadDesignerBars FName
 
'Load ToolBarState from DB
 
CommandBars1.LoadStateFromXMLString "DesignerFile",ToolBarState,myStateOptions
 
This scenario does not restore the panes state!


-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.3

Platform: Windows 7 (32bit)

Language: Visual Basic 6.0 / SP6


Posted By: Oleg
Date Posted: 27 August 2008 at 8:24am
You are right :-( Fixed for next release. Can you please drop letter to mailto:support@codejock.com - support@codejock.com will attach ocx to check.
 
Thank you.


-------------
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