<?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 : EnableActions() problem</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : EnableActions() problem]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 14 Jun 2026 23:20:32 +0000</pubDate>
  <lastBuildDate>Fri, 04 Sep 2009 12:14:38 +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=12624</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[EnableActions() problem : Yes. I finally tracked it down...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12624&amp;PID=52776&amp;title=enableactions-problem#52776</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5507">rmcmanamy</a><br /><strong>Subject:</strong> 12624<br /><strong>Posted:</strong> 04 September 2009 at 12:14pm<br /><br />Yes.&nbsp; I finally tracked it down to some code I had added in to Enable\Disable all controls.&nbsp; In that I was looping through all the controls in the menu.&nbsp; When I changed that to test if an action existed based on a range of my ID's then it works.&nbsp; But it was strange before that it only was the Enable that didn't work, the Visible worked fine still.]]>
   </description>
   <pubDate>Fri, 04 Sep 2009 12:14:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12624&amp;PID=52776&amp;title=enableactions-problem#52776</guid>
  </item> 
  <item>
   <title><![CDATA[EnableActions() problem : Hi,  Are you sure you call EnableActions...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12624&amp;PID=52771&amp;title=enableactions-problem#52771</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 12624<br /><strong>Posted:</strong> 04 September 2009 at 11:04am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Are you sure you call EnableActions before you create these controls ??</DIV>]]>
   </description>
   <pubDate>Fri, 04 Sep 2009 11:04:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12624&amp;PID=52771&amp;title=enableactions-problem#52771</guid>
  </item> 
  <item>
   <title><![CDATA[EnableActions() problem : I&amp;#039;ve ran into the same problem...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12624&amp;PID=52750&amp;title=enableactions-problem#52750</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5507">rmcmanamy</a><br /><strong>Subject:</strong> 12624<br /><strong>Posted:</strong> 04 September 2009 at 12:49am<br /><br />I've ran into the same problem but only with the Enabled action.&nbsp; Visible works fine but not enabled.&nbsp; This is a huge dissapointment in the product seeing how we have hundered of controls and it's rediculous to have to add the actions first when each control is supposed to have an action to begin with.&nbsp; I'm very dissapointed that this has not been resolved yet to say the least.]]>
   </description>
   <pubDate>Fri, 04 Sep 2009 00:49:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12624&amp;PID=52750&amp;title=enableactions-problem#52750</guid>
  </item> 
  <item>
   <title><![CDATA[EnableActions() problem : If its of any interest, I had...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12624&amp;PID=43958&amp;title=enableactions-problem#43958</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4627">Andrew666</a><br /><strong>Subject:</strong> 12624<br /><strong>Posted:</strong> 28 December 2008 at 11:35am<br /><br />If its of any interest, I had just the same problem --- I was using a RibbonBar with the CommandBar and I could create actions without error - but unless I created them BEFORE the ribbonbar controls, none of the action properties were executed --- i.e. I could set Enabled etc. without error, but they made no difference to the state of the control.<br><br>As soon as I created the actions before the controls, I could then do everything as per the documentation.<br><br>Regards<br><br><br>--Andrew<br>]]>
   </description>
   <pubDate>Sun, 28 Dec 2008 11:35:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12624&amp;PID=43958&amp;title=enableactions-problem#43958</guid>
  </item> 
  <item>
   <title><![CDATA[EnableActions() problem : Hi, Lets continue in issuetrack....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12624&amp;PID=42753&amp;title=enableactions-problem#42753</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 12624<br /><strong>Posted:</strong> 10 November 2008 at 11:29am<br /><br />Hi,<DIV>Lets continue in issuetrack. It have to be something in your code.</DIV>]]>
   </description>
   <pubDate>Mon, 10 Nov 2008 11:29:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12624&amp;PID=42753&amp;title=enableactions-problem#42753</guid>
  </item> 
  <item>
   <title><![CDATA[EnableActions() problem : I believe I am taking the same...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12624&amp;PID=42745&amp;title=enableactions-problem#42745</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4463">MadRiver</a><br /><strong>Subject:</strong> 12624<br /><strong>Posted:</strong> 10 November 2008 at 8:15am<br /><br />I believe I am taking the same steps the ActionsSample program is taking:<br />-- Call EnableActions after creating the CommandBars control, before creating any Actions or controls.<br />-- Add an Action<br />-- Add a menu item referring to the Action<br /><br />As far as I can tell, the only difference between the ActionsSample and my code is that the ActionsSample creates all the Actions before creating any menu items.<br />My code creates an Action, then the menu item referring to the Action; creates an Action, then a menu item; etc.]]>
   </description>
   <pubDate>Mon, 10 Nov 2008 08:15:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12624&amp;PID=42745&amp;title=enableactions-problem#42745</guid>
  </item> 
  <item>
   <title><![CDATA[EnableActions() problem : I don&amp;#039;t say this. ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12624&amp;PID=42726&amp;title=enableactions-problem#42726</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 12624<br /><strong>Posted:</strong> 10 November 2008 at 2:15am<br /><br />I don't say this.]]>
   </description>
   <pubDate>Mon, 10 Nov 2008 02:15:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12624&amp;PID=42726&amp;title=enableactions-problem#42726</guid>
  </item> 
  <item>
   <title><![CDATA[EnableActions() problem :   oleg wrote:Hi, All you need...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12624&amp;PID=42701&amp;title=enableactions-problem#42701</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4463">MadRiver</a><br /><strong>Subject:</strong> 12624<br /><strong>Posted:</strong> 07 November 2008 at 8:43am<br /><br /> <table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by oleg" alt="Originally posted by oleg" style="vertical-align: text-bottom;" /> <strong>oleg wrote:</strong><br /><br />Hi,<br /><div>All you need is to create actions before menu items.</div></td></tr></table> <br /><br />This is very alarming.  Are you saying that all actions must be created before menu items/toolbar controls?<br />That after actions are created and menu items reference them, no more actions can be added?<br />If so, this is a dreadful limitation.]]>
   </description>
   <pubDate>Fri, 07 Nov 2008 08:43:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12624&amp;PID=42701&amp;title=enableactions-problem#42701</guid>
  </item> 
  <item>
   <title><![CDATA[EnableActions() problem : Hi,  Have work automatically....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12624&amp;PID=42677&amp;title=enableactions-problem#42677</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 12624<br /><strong>Posted:</strong> 07 November 2008 at 5:09am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Have work automatically. </DIV><DIV>Check our Actions sample. All you need is to create actions before menu items.</DIV>]]>
   </description>
   <pubDate>Fri, 07 Nov 2008 05:09:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12624&amp;PID=42677&amp;title=enableactions-problem#42677</guid>
  </item> 
  <item>
   <title><![CDATA[EnableActions() problem : Hello,  Immediately after creating...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12624&amp;PID=42667&amp;title=enableactions-problem#42667</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4463">MadRiver</a><br /><strong>Subject:</strong> 12624<br /><strong>Posted:</strong> 06 November 2008 at 1:44pm<br /><br />Hello,<br /><br />Immediately after creating the CommandBars object I call EnableActions.<br /><br />I add several Actions, and several menu items referencing the actions.<br /><br />However, when I disable an action the menu item referencing that action is still enabled.  Nothing happens when the user clicks on the menu item, as expected, since the Action is disabled.<br /><br />Are thee other steps I have to take to update the Enabled state of all controls that refer to an Action (when the state of the Action changes)?<br /><br />Thanks for advice...]]>
   </description>
   <pubDate>Thu, 06 Nov 2008 13:44:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12624&amp;PID=42667&amp;title=enableactions-problem#42667</guid>
  </item> 
 </channel>
</rss>