<?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 : Change butt&#111;n at runtime</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Change butt&#111;n at runtime]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 07:32:07 +0000</pubDate>
  <lastBuildDate>Mon, 23 Feb 2004 07:27:03 +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=466</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[Change butt&#111;n at runtime : There are a few different ways....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=466&amp;PID=1092&amp;title=change-button-at-runtime#1092</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=229">robs</a><br /><strong>Subject:</strong> 466<br /><strong>Posted:</strong> 23 February 2004 at 7:27am<br /><br /><P>There are a few different ways. First, you need a handle to the button.</P><P>You can easily accomplish this in the CommandBars_Execute method. Just take a look at the samples.</P><P>You could also accomplish this in the CommandBars_ControlSelected method. This method would work well if you want to change the enabled property based on that control or another control being pressed.</P><P>If you want to change the property based on other conditions, unrelated to the commandBars, try using the CommandBars.FindControl method to get a pointer to your control. Once you have it, just change the enabled property.</P><P>Also, take a look at the CommandBars_Update method of the Office2003 sample.&nbsp; This gives you the syntax for accomplishing the task.</P><P>Take a look at the CommandBars_InitCommandsPopUp method of the DynamicPopups sample for an example of using the .FindControl method.</P><P>Good luck</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Mon, 23 Feb 2004 07:27:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=466&amp;PID=1092&amp;title=change-button-at-runtime#1092</guid>
  </item> 
  <item>
   <title><![CDATA[Change butt&#111;n at runtime : How to change at runtime thestatus...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=466&amp;PID=1091&amp;title=change-button-at-runtime#1091</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=381">amstel</a><br /><strong>Subject:</strong> 466<br /><strong>Posted:</strong> 23 February 2004 at 6:55am<br /><br /><P>How to change at runtime the&nbsp;status of a button : Enabled=False</P><P>&nbsp;</P><P>Sorry, I'm not speak english... French from Paris <IMG src="http://forum.codejock.com/smileys/smiley2.gif" border="0"></P>]]>
   </description>
   <pubDate>Mon, 23 Feb 2004 06:55:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=466&amp;PID=1091&amp;title=change-button-at-runtime#1091</guid>
  </item> 
 </channel>
</rss>