<?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 : Display popup menu for drop down push button</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : Display popup menu for drop down push button]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 12 May 2026 21:55:53 +0000</pubDate>
  <lastBuildDate>Wed, 16 Apr 2008 22:44:47 +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=10265</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[Display popup menu for drop down push button : Oh dear ... don&amp;#039;t I feel...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10265&amp;PID=33793&amp;title=display-popup-menu-for-drop-down-push-button#33793</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3873">RedFin</a><br /><strong>Subject:</strong> 10265<br /><strong>Posted:</strong> 16 April 2008 at 10:44pm<br /><br />Oh dear ... don't I feel stupid  <img src="http://forum.codejock.com/smileys/smiley9.gif" border="0" align="middle"> <br /><br />I had copied and pasted the code from one of the samples, so never even saw the intellisense popup in the IDE.  I had been looking for things like popup.top etc.<br /><br />Thanks wlcabral.]]>
   </description>
   <pubDate>Wed, 16 Apr 2008 22:44:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10265&amp;PID=33793&amp;title=display-popup-menu-for-drop-down-push-button#33793</guid>
  </item> 
  <item>
   <title><![CDATA[Display popup menu for drop down push button :   Did you try the x,y parameters...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10265&amp;PID=33790&amp;title=display-popup-menu-for-drop-down-push-button#33790</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2958">wlcabral</a><br /><strong>Subject:</strong> 10265<br /><strong>Posted:</strong> 16 April 2008 at 10:36pm<br /><br /><DIV></DIV><DIV></DIV><DIV>Did you try the x,y parameters ?</DIV><DIV>&nbsp;</DIV><DIV><strong>Public Function ShowPopup</strong>( _<BR>&nbsp;&nbsp;&nbsp;<strong>Optional ByVal </strong><I><a href="mk:@MSITStore:C:\Program%20Files\Codejock%20Software\ActiveX\Xtreme%20SuitePro%20ActiveX%20v12.0.0\Help\SymbolReference.chm::/XtremeCommandBars~CommandBar~ShowPopup.html#" target="_blank"><FONT face="Courier New" color=#800080>Flags</FONT></A></I></strong> <strong>As</strong> <B>Variant</B>, _<BR>&nbsp;&nbsp;&nbsp;<strong>Optional ByVal </strong><I><a href="mk:@MSITStore:C:\Program%20Files\Codejock%20Software\ActiveX\Xtreme%20SuitePro%20ActiveX%20v12.0.0\Help\SymbolReference.chm::/XtremeCommandBars~CommandBar~ShowPopup.html#" target="_blank"><FONT face="Courier New" color=#800080>x</FONT></A></I></strong> <strong>As</strong> <B>Variant</B>, _<BR>&nbsp;&nbsp;&nbsp;<strong>Optional ByVal </strong><I><a href="mk:@MSITStore:C:\Program%20Files\Codejock%20Software\ActiveX\Xtreme%20SuitePro%20ActiveX%20v12.0.0\Help\SymbolReference.chm::/XtremeCommandBars~CommandBar~ShowPopup.html#" target="_blank"><FONT face="Courier New" color=#800080>y</FONT></A></I></strong> <strong>As</strong> <B>Variant</B> _<BR>)<strong> As <B>Long</B></strong></DIV><DIV><P></P><!--DX end --><!--DX start ="edItemList" scrap="ETERS_LIST" namespace="eter" source="Item" ="" at="<h4 =dxh4>$$ParameterList$$</H4>%%filtereditemlist%%" --><h4 =dxh4>Parameters</H4><DL><DT><I>Flags</I> <DD>The&nbsp;<a href="mk:@MSITStore:C:\Program%20Files\Codejock%20Software\ActiveX\Xtreme%20SuitePro%20ActiveX%20v12.0.0\Help\SymbolReference.chm::/XtremeCommandBars~Enumerati&#111;ns~XTPTrackPopupFlags_EN.html" target="_blank"><FONT color=#800080>flags</FONT></A> of the popup <DT><I>x</I> <DD>The x-coordinate where the popup menu should be shown <DT><I>y</I> <DD>The y-coordinate where the popup menu should be shown </DD></DL></DIV>]]>
   </description>
   <pubDate>Wed, 16 Apr 2008 22:36:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10265&amp;PID=33790&amp;title=display-popup-menu-for-drop-down-push-button#33790</guid>
  </item> 
  <item>
   <title><![CDATA[Display popup menu for drop down push button : Hi,  I am using a drop down push...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10265&amp;PID=33788&amp;title=display-popup-menu-for-drop-down-push-button#33788</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3873">RedFin</a><br /><strong>Subject:</strong> 10265<br /><strong>Posted:</strong> 16 April 2008 at 10:02pm<br /><br />Hi,<br /><br />I am using a drop down push button and displaying a command bar context menu when the button is clicked, using this code -<br /><br />Private Sub cmdChangeStatus_Click()<br />Dim Popup As CommandBar<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;Set Popup = gRbn.CommandBars.ContextMenus.Find(400)<br />&nbsp;&nbsp;&nbsp;&nbsp;With Popup<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Select Case ebStatusCode.Value<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case "OP": .Controls(1).Enabled = False<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case "PA": .Controls(2).Enabled = False<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case "PC": .Controls(3).Enabled = False<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Case "CL": .Controls(4).Enabled = False<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End Select<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .ShowPopup<br />&nbsp;&nbsp;&nbsp;&nbsp;End With<br /><br />End Sub<br /><br />The problem is that the popup context menu appears where the mouse was clicked ... that is, over the push button.<br /><br />Can anyone tell me which methods/properties I can control the position of the popup so that it appears at the base of the push button ... I've looked and looked through the help, but can't work out what to use.<br /><br />Alternatively, is there some other method I should be using??<br /><br /><br />Cheers,<br /><br />Rohan]]>
   </description>
   <pubDate>Wed, 16 Apr 2008 22:02:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10265&amp;PID=33788&amp;title=display-popup-menu-for-drop-down-push-button#33788</guid>
  </item> 
 </channel>
</rss>