﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » .NET Forums » General .NET Discussion  » Drop down menu when click button</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Wed, 09 Sep 2026 20:31:21 GMT</lastBuildDate><ttl>20</ttl><item><title>Drop down menu when click button</title><link>http://forum.strataframe.net/FindPost8138.aspx</link><description>&amp;nbsp;Hi,&lt;BR&gt;How to show drop down menu when command button clicked with LEFT mouse button?&lt;BR&gt;I tired to use contextmenustrip but it only shown if RIGHT mouse button clicked. I also tried to show contextmenustrip programmatically in clicked event. However, it doesn't shown under button.&lt;BR&gt;&lt;BR&gt;Any ideas?&lt;BR&gt;&lt;BR&gt;Thank you</description><pubDate>Tue, 17 Apr 2007 09:37:28 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: Drop down menu when click button</title><link>http://forum.strataframe.net/FindPost8164.aspx</link><description>The Show(int, int) is in screen coordinates... you'll have to convert the button.Location to screen coordinates by doing this:&lt;/P&gt;&lt;P&gt;menu.Show(button.PointToScreen(button.Location));&lt;/P&gt;&lt;P&gt;That should get it to show in the right spot.</description><pubDate>Tue, 17 Apr 2007 09:37:28 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Drop down menu when click button</title><link>http://forum.strataframe.net/FindPost8145.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;I tried to pass button.location to contextmenustrip.show() but it doesnt show menu at the right place. Any ideas?&lt;/P&gt;&lt;P&gt;Thank you</description><pubDate>Mon, 16 Apr 2007 11:11:54 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: Drop down menu when click button</title><link>http://forum.strataframe.net/FindPost8143.aspx</link><description>You can control the position of the ContextMenuSTrip when showing programmatically.&amp;nbsp; There is an overload that allows you to specify the X and Y position.</description><pubDate>Mon, 16 Apr 2007 11:00:01 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>