<?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 : How to Change CB Button visibility at runtime?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : How to Change CB Button visibility at runtime?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 14 Jun 2026 12:17:33 +0000</pubDate>
  <lastBuildDate>Fri, 01 Oct 2010 06:25:44 +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=17273</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[How to Change CB Button visibility at runtime? : As an alternative to hiding/showing...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17273&amp;PID=60624&amp;title=how-to-change-cb-button-visibility-at-runtime#60624</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6296">Hemesh</a><br /><strong>Subject:</strong> 17273<br /><strong>Posted:</strong> 01 October 2010 at 6:25am<br /><br />As an alternative to hiding/showing buttons, you could have this as a UserControl to behave in this way, then just add that to the CommandBar?<br>]]>
   </description>
   <pubDate>Fri, 01 Oct 2010 06:25:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17273&amp;PID=60624&amp;title=how-to-change-cb-button-visibility-at-runtime#60624</guid>
  </item> 
  <item>
   <title><![CDATA[How to Change CB Button visibility at runtime? : Hi,I believe from reading your...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17273&amp;PID=60621&amp;title=how-to-change-cb-button-visibility-at-runtime#60621</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2960">Xander75</a><br /><strong>Subject:</strong> 17273<br /><strong>Posted:</strong> 01 October 2010 at 5:06am<br /><br />Hi,<br><br>I believe from reading your post you want to hide/show a button on a CommandBar Toolbar at runtime? <br><br>To do this, use the following code:<br><br><table width="99%"><tr><td><pre class="BBcode"><br>&nbsp;&nbsp;&nbsp; <font color="#000099">Dim </font>Control <font color="#000099">As </font>XtremeCommandBars.CommandBarButton<br>&nbsp;&nbsp;&nbsp; <font color="#000099">Set </font>Control = CommandBars.FindControl(, ID_FILE_OPEN) <font color="#006633">' Change ID_FILE_OPEN to be the ID of your button.</font><br>&nbsp;&nbsp;&nbsp; Control.Visible = <font color="#000099">Not </font>Control.Visible&nbsp; <font color="#006633">' Change "Not Control.Visible" to suit your needs</font><br></pre></td></tr></table><br><br>I have tested this in the Samples provided by CJ and it works fine.<br>]]>
   </description>
   <pubDate>Fri, 01 Oct 2010 05:06:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17273&amp;PID=60621&amp;title=how-to-change-cb-button-visibility-at-runtime#60621</guid>
  </item> 
  <item>
   <title><![CDATA[How to Change CB Button visibility at runtime? : Hello fellow developers! Unfortunately,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17273&amp;PID=60275&amp;title=how-to-change-cb-button-visibility-at-runtime#60275</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4108">shipwreck</a><br /><strong>Subject:</strong> 17273<br /><strong>Posted:</strong> 17 September 2010 at 11:09pm<br /><br />Hello fellow developers! Unfortunately, I'm stuck again.<div><br></div><div>As you know, I've been working on a project, and I had the reload/stop button combined using actions. So here's my question:</div><div><br></div><div>Is there anyway I can put a "Go" button in with the three of those, and have it only appear when the text in the combo box I'm using is not the Web browser control's location URL and to have it switch back to reload when the text is the same as the location URL? I'm assuming this has something to do with the commandbars_update() function but I'm not entirely sure.</div><div><br></div><div><br></div><div>If there isn't a way to work that out, I'll settle with just being able to have the separate go button, and have it only appear and disappear under the same circumstances. Is there anyway I could possibly pull either of these off? If so, then how? Some code or a sample project would be absolutely great.</div><div><br></div><div>Thanks in advance everyone!</div>]]>
   </description>
   <pubDate>Fri, 17 Sep 2010 23:09:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17273&amp;PID=60275&amp;title=how-to-change-cb-button-visibility-at-runtime#60275</guid>
  </item> 
 </channel>
</rss>