Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - CXTPControlColorSelector fails in Designer Studio
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPControlColorSelector fails in Designer Studio

 Post Reply Post Reply
Author
Message
markh View Drop Down
Groupie
Groupie


Joined: 12 November 2003
Location: United Kingdom
Status: Offline
Points: 49
Post Options Post Options   Thanks (0) Thanks(0)   Quote markh Quote  Post ReplyReply Direct Link To This Post Topic: CXTPControlColorSelector fails in Designer Studio
    Posted: 13 March 2008 at 1:41pm
Hello again.
 
I have an XML file saved via SaveStateToXMLString that contains controls of type CXTPControlColorSelector. When I try to import this file into Designer Studio it fails to load any of my toolbars or controls.
 
I guess that CXTPControlColorSelector controls are not supported in Designer Studio yet but could it not fail gracefully and load everything else apart from the CXTPControlColorSelector controls, perhaps with an warning message stating what it is doing?
 
Thanks
Mark
 
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: 13 March 2008 at 2:42pm
Hi,
 
Guess it have to work... Can you attach this xml to test ?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
markh View Drop Down
Groupie
Groupie


Joined: 12 November 2003
Location: United Kingdom
Status: Offline
Points: 49
Post Options Post Options   Thanks (0) Thanks(0)   Quote markh Quote  Post ReplyReply Direct Link To This Post Posted: 13 March 2008 at 2:57pm
Hello Oleg.
 
Here is the XML file.
 
Thanks
Mark
 
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: 14 March 2008 at 3:58am
Hello,
 
Right. :( Sorry, indeed problem because of CXTPControlColorSelector,
it fixed for next release.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
markh View Drop Down
Groupie
Groupie


Joined: 12 November 2003
Location: United Kingdom
Status: Offline
Points: 49
Post Options Post Options   Thanks (0) Thanks(0)   Quote markh Quote  Post ReplyReply Direct Link To This Post Posted: 14 March 2008 at 5:22am

Thanks Oleg.

Any chance of a fix for the "DesignerControls empty after SaveStateToXMLString" issue as well??

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: 14 March 2008 at 10:05am
Hi,
btw do you set SerializeDesignerControls = True for StateOptions in second parameter ?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
markh View Drop Down
Groupie
Groupie


Joined: 12 November 2003
Location: United Kingdom
Status: Offline
Points: 49
Post Options Post Options   Thanks (0) Thanks(0)   Quote markh Quote  Post ReplyReply Direct Link To This Post Posted: 14 March 2008 at 11:50am
Yes
Back to Top
joeliner View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 June 2006
Status: Offline
Points: 273
Post Options Post Options   Thanks (0) Thanks(0)   Quote joeliner Quote  Post ReplyReply Direct Link To This Post Posted: 30 March 2008 at 11:25am
Hi,

I am using LoadStateFromXMLString to load an xml i exported from the designer. I added a few controls from the actions library. When i load the xml in code, everything loads ok except the actions button's text are not shown. What am i doing wrong?

I am using the same loading procedure specified on help.

see image:


Back to Top
joeliner View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 June 2006
Status: Offline
Points: 273
Post Options Post Options   Thanks (0) Thanks(0)   Quote joeliner Quote  Post ReplyReply Direct Link To This Post Posted: 30 March 2008 at 11:28am
oops!

fixed it. had forgotten, myStateOptions.SerializeActions = True.
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.234 seconds.