Print Page | Close Window

CXTPControlColorSelector fails in Designer Studio

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


Topic: CXTPControlColorSelector fails in Designer Studio
Posted By: markh
Subject: CXTPControlColorSelector fails in Designer Studio
Date 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
 



Replies:
Posted By: Oleg
Date 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


Posted By: markh
Date Posted: 13 March 2008 at 2:57pm
Hello Oleg.
 
Here is the XML file.
 
Thanks
Mark
 
https://forum.codejock.com/uploads/20080313_145544_advanced.zip - uploads/20080313_145544_advanced.zip


Posted By: Oleg
Date 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


Posted By: markh
Date Posted: 14 March 2008 at 5:22am

Thanks Oleg.

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



Posted By: Oleg
Date 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


Posted By: markh
Date Posted: 14 March 2008 at 11:50am
Yes


Posted By: joeliner
Date 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:




Posted By: joeliner
Date Posted: 30 March 2008 at 11:28am
oops!

fixed it. had forgotten, myStateOptions.SerializeActions = True.



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