<?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 : SOLVED. looping through commandbar actions</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : SOLVED. looping through commandbar actions]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 23:15:30 +0000</pubDate>
  <lastBuildDate>Wed, 20 Aug 2008 16:46:52 +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=11844</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[SOLVED. looping through commandbar actions : Solved!  I can retrieve all...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11844&amp;PID=40183&amp;title=solved-looping-through-commandbar-actions#40183</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2585">marcel</a><br /><strong>Subject:</strong> 11844<br /><strong>Posted:</strong> 20 August 2008 at 4:46pm<br /><br />Solved!<DIV>&nbsp;</DIV><DIV>I can retrieve all commandbar controls by:</DIV><DIV>CommandBars:Item(i):Controls:Item(i2):Caption</DIV><DIV>&nbsp;</DIV><DIV>i = number of the commandbar</DIV><DIV>i2 = number of the control in the Controls collection of the commandbar</DIV><DIV>&nbsp;</DIV><DIV>That's enough for the translation tool although their are duplicated values of controls both on the menu and any commandbar.</DIV>]]>
   </description>
   <pubDate>Wed, 20 Aug 2008 16:46:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11844&amp;PID=40183&amp;title=solved-looping-through-commandbar-actions#40183</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED. looping through commandbar actions :   marcel wrote:Hi all,     Something...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11844&amp;PID=40020&amp;title=solved-looping-through-commandbar-actions#40020</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11844<br /><strong>Posted:</strong> 18 August 2008 at 10:06am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by marcel" alt="Originally posted by marcel" style="vertical-align: text-bottom;" /> <strong>marcel wrote:</strong><br /><br />Hi all, <DIV>&nbsp;</DIV><DIV>&#091;...&#093;</DIV><DIV>&nbsp;</DIV><DIV>Something like this?</DIV><DIV>&nbsp;</DIV><DIV>For i = 1 to CommandBars:Actions:Count Do:</DIV><DIV>&nbsp;&nbsp; CommandBars:Actions:Item(i).Caption = "New TranslatedValue";</DIV><DIV>End;</DIV><DIV>&nbsp;</DIV><DIV>Greetz,</DIV><DIV>Marcel</DIV></td></tr></table> <DIV>&nbsp;</DIV><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>Try this:</DIV><DIV>&nbsp;</DIV><DIV><DIV>For i = 1 to CommandBars:Actions:Count Do:</DIV><DIV>&nbsp;&nbsp; CommandBars:Actions:Action(i).Caption = "New TranslatedValue";</DIV><DIV>End;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>I don't know what language you use, so I suggest you look at post: <a href="https://forum.codejock.com/forum_posts.asp?TID=11225" target="_blank">https://forum.codejock.com/forum_posts.asp?TID=11225</A>&nbsp;first and if your issue is solved change your topic description into SOLVED: &lt;your topic description&gt;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV></DIV>]]>
   </description>
   <pubDate>Mon, 18 Aug 2008 10:06:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11844&amp;PID=40020&amp;title=solved-looping-through-commandbar-actions#40020</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED. looping through commandbar actions : Hi,  For VB6 it looks like ...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11844&amp;PID=39966&amp;title=solved-looping-through-commandbar-actions#39966</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11844<br /><strong>Posted:</strong> 18 August 2008 at 2:16am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>For VB6 it looks like<BR></DIV><DIV>&nbsp;&nbsp;&nbsp; Dim a As CommandBarAction<BR>&nbsp;&nbsp;&nbsp; For Each a In CommandBars.Actions<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Debug.Print a.Caption<BR>&nbsp;&nbsp;&nbsp; Next<BR>&nbsp;&nbsp;&nbsp; </DIV>]]>
   </description>
   <pubDate>Mon, 18 Aug 2008 02:16:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11844&amp;PID=39966&amp;title=solved-looping-through-commandbar-actions#39966</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED. looping through commandbar actions : Hi all,   I have commandbars...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11844&amp;PID=39930&amp;title=solved-looping-through-commandbar-actions#39930</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2585">marcel</a><br /><strong>Subject:</strong> 11844<br /><strong>Posted:</strong> 16 August 2008 at 4:40am<br /><br />Hi all, <DIV>&nbsp;</DIV><DIV>I have commandbars with ActionsEnabled true. For a translation tool I want to loop through all actions and translate the&nbsp;Caption ad Tooltips.</DIV><DIV>&nbsp;</DIV><DIV>The translation tool&nbsp;doesn't know anything of the indexes of the action items.</DIV><DIV>&nbsp;</DIV><DIV>How can I loop through all actions?</DIV><DIV>&nbsp;</DIV><DIV>Something like this?</DIV><DIV>&nbsp;</DIV><DIV>For i = 1 to CommandBars:Actions:Count Do:</DIV><DIV>&nbsp;&nbsp; CommandBars:Actions:Item(i).Caption = "New TranslatedValue";</DIV><DIV>End;</DIV><DIV>&nbsp;</DIV><DIV>But that don't seems to work. How can I access all actioncontrols without knowing their index values?</DIV><DIV>&nbsp;</DIV><DIV>Thanks for help!</DIV><DIV>&nbsp;</DIV><DIV>Greetz,</DIV><DIV>Marcel</DIV>]]>
   </description>
   <pubDate>Sat, 16 Aug 2008 04:40:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11844&amp;PID=39930&amp;title=solved-looping-through-commandbar-actions#39930</guid>
  </item> 
 </channel>
</rss>