<?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 Find Control in PopUpBar</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : How to Find Control in PopUpBar]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 16:52:54 +0000</pubDate>
  <lastBuildDate>Fri, 20 Jun 2008 18:51:20 +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=11115</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 Find Control in PopUpBar :  Oh, you mean the OTHER last...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11115&amp;PID=37128&amp;title=how-to-find-control-in-popupbar#37128</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4225">chrisABC</a><br /><strong>Subject:</strong> 11115<br /><strong>Posted:</strong> 20 June 2008 at 6:51pm<br /><br />Oh, you mean the OTHER last parameter :-)<br><br>OK, now I see how to make it work.&nbsp; Thankyou.<br>(I am not good at crossword puzzles either <img src="http://forum.codejock.com/smileys/smiley9.gif" border="0" align="absmiddle"> )<br><br><br>]]>
   </description>
   <pubDate>Fri, 20 Jun 2008 18:51:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11115&amp;PID=37128&amp;title=how-to-find-control-in-popupbar#37128</guid>
  </item> 
  <item>
   <title><![CDATA[How to Find Control in PopUpBar : When you start read my answers...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11115&amp;PID=37123&amp;title=how-to-find-control-in-popupbar#37123</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11115<br /><strong>Posted:</strong> 20 June 2008 at 3:17pm<br /><br /><P>When you start read my answers :)</P><DIV>In FindControl set<strong> last</strong> parameter to True.</DIV>]]>
   </description>
   <pubDate>Fri, 20 Jun 2008 15:17:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11115&amp;PID=37123&amp;title=how-to-find-control-in-popupbar#37123</guid>
  </item> 
  <item>
   <title><![CDATA[How to Find Control in PopUpBar : This does not work.Setting FindControl...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11115&amp;PID=37070&amp;title=how-to-find-control-in-popupbar#37070</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4225">chrisABC</a><br /><strong>Subject:</strong> 11115<br /><strong>Posted:</strong> 20 June 2008 at 3:40am<br /><br />This does not work.<img src="http://forum.codejock.com/smileys/smiley19.gif" border="0" align="absmiddle"><br><br>Setting FindControl last paramter = True makes no difference.<br>CommandBars(1).Controls(0).&nbsp;&nbsp;&nbsp; does not have property CommandBars<br><br><br>To see the problem, use your Ribbon MDI sample (ActiveX)<br>Put a Break Point somewhere in&nbsp; FrmMain (eg. in mnuFileOpen_Click())<br><br>When program breaks (eg Click on File Open), go to Immediate Window and try:<br><br>&nbsp;&nbsp; ? CommandBars(1).FindControl(, ID_FILE_MRU_FILE1, <font color="#ff0000">False</font>).Caption<br><br>I get Error 91, Object not set. <br>Same error with&nbsp;&nbsp;&nbsp; ..... (, ID_FILE_MRU_FILE1, <font color="#ff0000">True</font>).Caption<br><br>But if you try:<br><br>&nbsp;&nbsp;&nbsp; ? CommandBars(1).FindControl(, ID_VIEW_NORMAL, False).Caption<br><br>This works OK.<br><br><br>ID_FILE_MRU_FILE1 is ControlButton on PopdownMenu<br>ID_VIEW_NORMAL is ControlButton on RibbonTab<br><br>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br><br>Please can you tell me how to FIND&nbsp; the ID_FILE_MRU_FILE1 control?<br><br>]]>
   </description>
   <pubDate>Fri, 20 Jun 2008 03:40:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11115&amp;PID=37070&amp;title=how-to-find-control-in-popupbar#37070</guid>
  </item> 
  <item>
   <title><![CDATA[How to Find Control in PopUpBar : Hi, In FindControl set last parameter...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11115&amp;PID=37059&amp;title=how-to-find-control-in-popupbar#37059</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11115<br /><strong>Posted:</strong> 20 June 2008 at 1:30am<br /><br />Hi,<DIV>In FindControl set last parameter to True.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>try this code</DIV><DIV>Debug.Print&nbsp; CommandBars(1).Controls(0).CommandBars.Controls(0).Caption</DIV>]]>
   </description>
   <pubDate>Fri, 20 Jun 2008 01:30:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11115&amp;PID=37059&amp;title=how-to-find-control-in-popupbar#37059</guid>
  </item> 
  <item>
   <title><![CDATA[How to Find Control in PopUpBar : Run Time Error 91Object Variable...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11115&amp;PID=37049&amp;title=how-to-find-control-in-popupbar#37049</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4225">chrisABC</a><br /><strong>Subject:</strong> 11115<br /><strong>Posted:</strong> 19 June 2008 at 5:50pm<br /><br />Run Time Error 91<br>Object Variable or With Block variable not set<br><br>ALSO:<br>If I pause program and do:<br>&nbsp; For i = 1 to CommandBars(1).Controls.count<br>&nbsp;&nbsp;&nbsp;&nbsp; Debug.Print&nbsp; CommandBars(1).Controls(i).Caption<br>&nbsp; Next<br><br>This prints out all the buttons on the RibbonBar, but NOT any of the controls on the popdown Menus.<br><br>How can I access the controls on the Menus??<br>]]>
   </description>
   <pubDate>Thu, 19 Jun 2008 17:50:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11115&amp;PID=37049&amp;title=how-to-find-control-in-popupbar#37049</guid>
  </item> 
  <item>
   <title><![CDATA[How to Find Control in PopUpBar : What error ? ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11115&amp;PID=37040&amp;title=how-to-find-control-in-popupbar#37040</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11115<br /><strong>Posted:</strong> 19 June 2008 at 3:26pm<br /><br />What error ?]]>
   </description>
   <pubDate>Thu, 19 Jun 2008 15:26:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11115&amp;PID=37040&amp;title=how-to-find-control-in-popupbar#37040</guid>
  </item> 
  <item>
   <title><![CDATA[How to Find Control in PopUpBar :  Using the RibbonBar Samplethere...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11115&amp;PID=37033&amp;title=how-to-find-control-in-popupbar#37033</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4225">chrisABC</a><br /><strong>Subject:</strong> 11115<br /><strong>Posted:</strong> 19 June 2008 at 2:48pm<br /><br />Using the RibbonBar Sample<br>there are buttons added to the File popdown menu,&nbsp; eg.&nbsp; ID_FILE_MYTEST<br><br>How can I "find" these controls on the popdown menu?<br><br>&nbsp;&nbsp;&nbsp;&nbsp; CommandBars.FindControl(, ID_FILE_MYTEST) just gives error.<br>&nbsp;&nbsp;&nbsp;&nbsp; so I guess CommandBars is not the correct object to use.<br><br><br><br><br><br>]]>
   </description>
   <pubDate>Thu, 19 Jun 2008 14:48:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11115&amp;PID=37033&amp;title=how-to-find-control-in-popupbar#37033</guid>
  </item> 
 </channel>
</rss>