<?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 : FindC&#111;ntrol &#111;n Popup Menus</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : FindC&#111;ntrol &#111;n Popup Menus]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 10 Jun 2026 02:43:14 +0000</pubDate>
  <lastBuildDate>Wed, 31 May 2006 16:02:18 +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=4279</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[FindC&#111;ntrol &#111;n Popup Menus : He is saying that xtpBarPopup...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4279&amp;PID=13270&amp;title=findcontrol-on-popup-menus#13270</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 4279<br /><strong>Posted:</strong> 31 May 2006 at 4:02pm<br /><br />He is saying that xtpBarPopup will not be added to the commandbars controls collection, they are "temporary".<br><br>If you want to use your same code you could use some logic before adding the button.<br><br>For example:<br><br>Dim Control As CommandBarControl<br>Dim x as CommandBarControl<br>  <br>&nbsp;&nbsp;&nbsp; Set Popup = CommandBars.Add("Popup", xtpBarPopup)<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; With Popup.Controls<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Control = .Add(xtpControlPopup, 0, "Send To...", -1, False)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Control.Id = 200<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Control.CommandBar.Controls.Add xtpControlButton, ID_SENDTOPRODUCTION, "Production", -1, False<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Control.CommandBar.Controls.Add xtpControlButton, ID_SENDTOBARCODESERVER, "Barcode Server", -1, False<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Control.CommandBar.Controls.Add xtpControlButton, ID_SENDTOENHANCESERVER, "Enhance Server", -1, False<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Control.CommandBar.Controls.Add xtpControlButton, ID_SENDTOIMPORTSERVER, "Import Server", -1, False<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set x = Control.CommandBar.Controls.Add(xtpControlButton, ID_SENDTOBILLING, "Billing", -1, False)<br>&nbsp;&nbsp;&nbsp; x.Visible = bSomeCondition<br><br>&nbsp;&nbsp;&nbsp; End With<br><br>]]>
   </description>
   <pubDate>Wed, 31 May 2006 16:02:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4279&amp;PID=13270&amp;title=findcontrol-on-popup-menus#13270</guid>
  </item> 
  <item>
   <title><![CDATA[FindC&#111;ntrol &#111;n Popup Menus : Help. Please. I&amp;#039;m stumped. ...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4279&amp;PID=13269&amp;title=findcontrol-on-popup-menus#13269</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1790">jcollier</a><br /><strong>Subject:</strong> 4279<br /><strong>Posted:</strong> 31 May 2006 at 3:55pm<br /><br />Help.&nbsp; Please.&nbsp; I'm stumped.]]>
   </description>
   <pubDate>Wed, 31 May 2006 15:55:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4279&amp;PID=13269&amp;title=findcontrol-on-popup-menus#13269</guid>
  </item> 
  <item>
   <title><![CDATA[FindC&#111;ntrol &#111;n Popup Menus : I am using xtpBarPopup for the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4279&amp;PID=13178&amp;title=findcontrol-on-popup-menus#13178</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1790">jcollier</a><br /><strong>Subject:</strong> 4279<br /><strong>Posted:</strong> 26 May 2006 at 10:15am<br /><br />I am using xtpBarPopup for the purpose of showing a context menu when I right click on a grid.&nbsp; I'm not using a menu bar at all in this case.&nbsp; So, I'm still lost.]]>
   </description>
   <pubDate>Fri, 26 May 2006 10:15:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4279&amp;PID=13178&amp;title=findcontrol-on-popup-menus#13178</guid>
  </item> 
  <item>
   <title><![CDATA[FindC&#111;ntrol &#111;n Popup Menus : yes, this is thing. CommandBars.Add...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4279&amp;PID=13173&amp;title=findcontrol-on-popup-menus#13173</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 4279<br /><strong>Posted:</strong> 26 May 2006 at 9:53am<br /><br /><P>yes, this is thing.</P><P>CommandBars.Add + xtpBarPopup actually just create popup bar to show it, but not add it to CommandBars collection, so FindControl will return Nothing.</P><P>&nbsp;</P><P>use CommandBars.Add + xtpBarPopup only if you need to show context menu.</P><P>If you need to add popup bar for menu bar call</P><P>Set ControlFile = CommandBars.ActiveMenuBar.Controls.Add(xtpControlPopup, 0, "&amp;File", -1, False)<BR>&nbsp; </P><P>&nbsp;</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Fri, 26 May 2006 09:53:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4279&amp;PID=13173&amp;title=findcontrol-on-popup-menus#13173</guid>
  </item> 
  <item>
   <title><![CDATA[FindC&#111;ntrol &#111;n Popup Menus : I should probably add that I am...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4279&amp;PID=13154&amp;title=findcontrol-on-popup-menus#13154</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1790">jcollier</a><br /><strong>Subject:</strong> 4279<br /><strong>Posted:</strong> 25 May 2006 at 5:09pm<br /><br />I should probably add that I am using version 10.1.1]]>
   </description>
   <pubDate>Thu, 25 May 2006 17:09:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4279&amp;PID=13154&amp;title=findcontrol-on-popup-menus#13154</guid>
  </item> 
  <item>
   <title><![CDATA[FindC&#111;ntrol &#111;n Popup Menus : I am having trouble with the FindControl...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4279&amp;PID=13143&amp;title=findcontrol-on-popup-menus#13143</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1790">jcollier</a><br /><strong>Subject:</strong> 4279<br /><strong>Posted:</strong> 25 May 2006 at 10:30am<br /><br />I am having trouble with the FindControl method on a popup menu using the following code:<br><br>Dim Control As CommandBarControl<br>  <br>&nbsp;&nbsp;&nbsp; Set Popup = CommandBars.Add("Popup", xtpBarPopup)<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; With Popup.Controls<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Control = .Add(xtpControlPopup, 0, "Send To...", -1, False)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Control.Id = 200<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Control.CommandBar.Controls.Add xtpControlButton, ID_SENDTOPRODUCTION, "Production", -1, False<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Control.CommandBar.Controls.Add xtpControlButton, ID_SENDTOBARCODESERVER, "Barcode Server", -1, False<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Control.CommandBar.Controls.Add xtpControlButton, ID_SENDTOENHANCESERVER, "Enhance Server", -1, False<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Control.CommandBar.Controls.Add xtpControlButton, ID_SENDTOIMPORTSERVER, "Import Server", -1, False<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Control.CommandBar.Controls.Add xtpControlButton, ID_SENDTOBILLING, "Billing", -1, False<br><br>&nbsp;&nbsp;&nbsp; End With<br><br>CommandBars.ActiveMenuBar.FindControl(, ID_SENDTOBILLING, , True).Visible = True<br><br><br>FindControl always returns nothing, even if I replace ID_SENDTOBILLING with 200.<br><br>Help please!<br><br>Thanks<br>]]>
   </description>
   <pubDate>Thu, 25 May 2006 10:30:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4279&amp;PID=13143&amp;title=findcontrol-on-popup-menus#13143</guid>
  </item> 
 </channel>
</rss>