<?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 : Chaning the state of a CommandBar C&#111;ntrol</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Chaning the state of a CommandBar C&#111;ntrol]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 12:01:09 +0000</pubDate>
  <lastBuildDate>Tue, 04 Jan 2005 09:51:31 +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=1617</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[Chaning the state of a CommandBar C&#111;ntrol : You cant disable it, but you could...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1617&amp;PID=4601&amp;title=chaning-the-state-of-a-commandbar-control#4601</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 1617<br /><strong>Posted:</strong> 04 January 2005 at 9:51am<br /><br />You cant disable it, but you could set the UpdatePeriod to somethinglike every 10 minutes.&nbsp; Or you could have some variable thatcontrols if the conde in the Update event is executed.]]>
   </description>
   <pubDate>Tue, 04 Jan 2005 09:51:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1617&amp;PID=4601&amp;title=chaning-the-state-of-a-commandbar-control#4601</guid>
  </item> 
  <item>
   <title><![CDATA[Chaning the state of a CommandBar C&#111;ntrol : Thanks for that. I looked at the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1617&amp;PID=4600&amp;title=chaning-the-state-of-a-commandbar-control#4600</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=913">amorton</a><br /><strong>Subject:</strong> 1617<br /><strong>Posted:</strong> 04 January 2005 at 9:48am<br /><br />Thanks for that. I looked at the other posts and discovered what i wasmissing. I did not realise i needed to call FindControl with therecursive param set. As i was calling it on the control itself and noton a command bar i did not think it was necessary. <br><br>Is there a way to disable the update event ? I tried setting theUpdatePeriod property on the commandBarsOptions object to zero but thatjust made it run as fast as it could. <br><br>I realise i could&nbsp; just not implement an event handler but if i do that will the control still be fireing the event ?<br><br>thanks<br>]]>
   </description>
   <pubDate>Tue, 04 Jan 2005 09:48:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1617&amp;PID=4600&amp;title=chaning-the-state-of-a-commandbar-control#4600</guid>
  </item> 
  <item>
   <title><![CDATA[Chaning the state of a CommandBar C&#111;ntrol : 1. Yes, Update event is only one...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1617&amp;PID=4594&amp;title=chaning-the-state-of-a-commandbar-control#4594</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 1617<br /><strong>Posted:</strong> 03 January 2005 at 5:11pm<br /><br />1. Yes, Update event is only one way to do it.&nbsp; You can simply useone of the Find method to find the control and change itsproperties.&nbsp; Change them in the Controls collection, not theDesignerControls.&nbsp; Do a search on forum for DesignerControls, Ihave explained them a few times<img src="http://forum.codejock.com/smileys/smiley1.gif" border="0"><br><br>2. No<br><br>3. It is fired every 100 milliseconds by default.&nbsp; You can change this by setting the UpdatePeriod property.<br>]]>
   </description>
   <pubDate>Mon, 03 Jan 2005 17:11:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1617&amp;PID=4594&amp;title=chaning-the-state-of-a-commandbar-control#4594</guid>
  </item> 
  <item>
   <title><![CDATA[Chaning the state of a CommandBar C&#111;ntrol : Hello have been trying to write...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1617&amp;PID=4593&amp;title=chaning-the-state-of-a-commandbar-control#4593</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=913">amorton</a><br /><strong>Subject:</strong> 1617<br /><strong>Posted:</strong> 03 January 2005 at 1:21pm<br /><br />Hello have been trying to write some code to disable a menu option inthe command bar. I followed the documentation and used the"DesignerControls" controls collection off the command bars control tofind a control and change its enabled property. This did nothing. <br><br>Eventually i found the "Update" event, in the online help it says"Occurs when&nbsp;a command bar control has been updated." (and notmuch else)&nbsp; which more than implies it is fired *after" a controlhas been updated. However one of the tutorials implies that if i wantto disable a menu option the only place i can do it is in the "Update"event.<br><br>So my questions are....<br>1) Is there are way to select a control from the command bars and disable it outside of the Update event ?<br><br>2) Is the only way to change the state of a command bar control&nbsp; in the Update event ?<br><br>3) What is the trigger for the Update event to fire for a particularcontrol ? The online help says of the "control" param "The command barcontrol which has been updated." so what do i need to do to inorder fora control to be considered Updated ?<br><br>thanks for any help.<br>aaron<br><br>]]>
   </description>
   <pubDate>Mon, 03 Jan 2005 13:21:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1617&amp;PID=4593&amp;title=chaning-the-state-of-a-commandbar-control#4593</guid>
  </item> 
 </channel>
</rss>