<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Issue in LoadStateFromString in CommandBars</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Suite Pro : Issue in LoadStateFromString in CommandBars]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 20 Apr 2026 16:11:53 +0000</pubDate>
  <lastBuildDate>Sun, 10 May 2015 09:21:27 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=22582</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Issue in LoadStateFromString in CommandBars : Hi,Actually as a workaround, I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22582&amp;PID=73394&amp;title=issue-in-loadstatefromstring-in-commandbars#73394</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6726">ahmadgames</a><br /><strong>Subject:</strong> 22582<br /><strong>Posted:</strong> 10 May 2015 at 9:21am<br /><br />Hi,<div>Actually as a workaround, I managed to reach things (Groups, Tabs, ..etc) using the Index instead of having a direct reference to it.</div><div><br></div><div>For now it is working, although I believe it is not the optimum solution, since we work a lot on having reference to many things and nothing is wrong, except when we have reference to groups on your component and make the LoadState with restoring the controls... If RestoreControls is false, the same reference will work fine.</div><div><br></div><div>It will be better solving this, since if we go to a scenario where everything can be updated dynamically at runtime by users (hence the tabs, groups index may be changed) then it will not be a correct solution.</div><div><br></div><div>Thanks.</div><div>Ahmad</div>]]>
   </description>
   <pubDate>Sun, 10 May 2015 09:21:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22582&amp;PID=73394&amp;title=issue-in-loadstatefromstring-in-commandbars#73394</guid>
  </item> 
  <item>
   <title><![CDATA[Issue in LoadStateFromString in CommandBars : Thank you for bringing this to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22582&amp;PID=73392&amp;title=issue-in-loadstatefromstring-in-commandbars#73392</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8848">mcmastl</a><br /><strong>Subject:</strong> 22582<br /><strong>Posted:</strong> 07 May 2015 at 12:16pm<br /><br />Thank you for bringing this to our attention, we have informed our development team and we will be looking into the issue. &nbsp;If the matter has been resolved please let us know. &nbsp;]]>
   </description>
   <pubDate>Thu, 07 May 2015 12:16:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22582&amp;PID=73392&amp;title=issue-in-loadstatefromstring-in-commandbars#73392</guid>
  </item> 
  <item>
   <title><![CDATA[Issue in LoadStateFromString in CommandBars : Hi,When we use LoadStateFromString...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22582&amp;PID=73331&amp;title=issue-in-loadstatefromstring-in-commandbars#73331</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6726">ahmadgames</a><br /><strong>Subject:</strong> 22582<br /><strong>Posted:</strong> 23 April 2015 at 9:43am<br /><br />Hi,<div><br></div><div>When we use LoadStateFromString in CommandBars with enabling the Restore Controls (so we can get the last state and last selected tab ...etc), we will not be able to add any new button in run-time!!</div><div><br></div><div>Find the following sample (modified from CJ sample:&nbsp;<a href="http://forum.codejock.com/uploads/6726/Ribb&#111;nSampleLOADSTATECASE.zip" rel="nofollow">uploads/6726/RibbonSampleLOADSTATECASE.zip</a><span style="line-height: 1.4;">) where you cannot add any button in a ribbon tab group in run time when we enable the Restore Controls (When add a new button under the Review tab when you press the Command Button 1), but if you set this to False, you will be able to add buttons normally, but for sure you will not be able to get the last saved state before closing the application...</span></div><div><br></div><div>Notes:</div><div>1) To run the sample, please put the DLL inside the ZIP file (VertexTrading10.4.0) in system32 (or syswow64) and register it (we use this DLL for quick file processing).</div><div><br></div><div>2) We save the state when query unload.</div><div><br></div><div>3) We load after finishing adding everything in the _Load even of the main form.</div><div><br></div><div>If you need any clarifications to replicate the case, please let me know. And update me if we can solve this from our side. Or if it needs update or something.</div><div><br></div><div>Thanks.</div><div>Ahmad</div>]]>
   </description>
   <pubDate>Thu, 23 Apr 2015 09:43:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22582&amp;PID=73331&amp;title=issue-in-loadstatefromstring-in-commandbars#73331</guid>
  </item> 
 </channel>
</rss>