Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - StatusBar Cutomizer problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

StatusBar Cutomizer problem

 Post Reply Post Reply
Author
Message
Fabian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 22 November 2004
Location: Switzerland
Status: Offline
Points: 336
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fabian Quote  Post ReplyReply Direct Link To This Post Topic: StatusBar Cutomizer problem
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Fabian View Drop Down
Senior Member
Senior Member
Avatar

Joined: 22 November 2004
Location: Switzerland
Status: Offline
Points: 336
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fabian Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 27 August 2008 at 8:24am
You are right :-( Fixed for next release. Can you please drop letter to support@codejock.com will attach ocx to check.
 
Thank you.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.250 seconds.