<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/249415</link>
    <title>MATLAB Central Newsreader - Right click over a pushbutton</title>
    <description>Feed for thread: Right click over a pushbutton</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Sun, 19 Apr 2009 19:54:01 -0400</pubDate>
      <title>Right click over a pushbutton</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/249415#643858</link>
      <author>Sprinceana </author>
      <description>What I must select to the property Selection Type of figure1(I have normal,open,alt,extend) to perform a right click over my pushbutton?&lt;br&gt;
&lt;br&gt;
I wait a response please!&lt;br&gt;
&lt;br&gt;
I'm using guide!</description>
    </item>
    <item>
      <pubDate>Sun, 19 Apr 2009 19:57:01 -0400</pubDate>
      <title>Re: Right click over a pushbutton</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/249415#643859</link>
      <author>Sprinceana </author>
      <description>&quot;Sprinceana &quot; &amp;lt;mihaispr@yahoo.com&amp;gt; wrote in message &amp;lt;gsfvgo$feo$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; What I must select to the property Selection Type of figure1(I have normal,open,alt,extend) to perform a right click over my pushbutton?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I wait a response please!&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I'm using guide!&lt;br&gt;
&lt;br&gt;
Also I know that the callback associated to the right click over a button is :&lt;br&gt;
&lt;br&gt;
function pushbutton1_ButtonDownFcn(hObject, eventdata, handles)&lt;br&gt;
% hObject    handle to pushbutton1 (see GCBO)&lt;br&gt;
% eventdata  reserved - to be defined in a future version of MATLAB&lt;br&gt;
% handles    structure with handles and user data (see GUIDATA)</description>
    </item>
    <item>
      <pubDate>Sun, 19 Apr 2009 20:00:04 -0400</pubDate>
      <title>Re: Right click over a pushbutton</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/249415#643861</link>
      <author>Jiro Doke</author>
      <description>&quot;Sprinceana &quot; &amp;lt;mihaispr@yahoo.com&amp;gt; wrote in message &amp;lt;gsfvgo$feo$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; What I must select to the property Selection Type of figure1(I have normal,open,alt,extend) to perform a right click over my pushbutton?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I wait a response please!&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I'm using guide!&lt;br&gt;
&lt;br&gt;
I'm going to encourage you to take a look at the documentation. You seem to know the property Selection Type. If you search for that in the documentation, it will tell you which one you want.&lt;br&gt;
&lt;br&gt;
jiro</description>
    </item>
    <item>
      <pubDate>Sun, 19 Apr 2009 20:10:03 -0400</pubDate>
      <title>Re: Right click over a pushbutton</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/249415#643865</link>
      <author>Sprinceana </author>
      <description>&quot;Jiro Doke&quot; &amp;lt;jiro.doke@mathworks.com&amp;gt; wrote in message &amp;lt;gsfvs4$7ri$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &quot;Sprinceana &quot; &amp;lt;mihaispr@yahoo.com&amp;gt; wrote in message &amp;lt;gsfvgo$feo$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; What I must select to the property Selection Type of figure1(I have normal,open,alt,extend) to perform a right click over my pushbutton?&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; I wait a response please!&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; I'm using guide!&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I'm going to encourage you to take a look at the documentation. You seem to know the property Selection Type. If you search for that in the documentation, it will tell you which one you want.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; jiro&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
I've searched the documentation so it can be alt(alternate) or extent for selection type.&lt;br&gt;
&lt;br&gt;
I wait your response which of this 2 is the best way to perform the right click over a pushbutton.&lt;br&gt;
&lt;br&gt;
Also it is possible when I right click the button to appear me a popupmenu linke in C++ Builder(over right click on a button)?&lt;br&gt;
&lt;br&gt;
Thanks in advance!&lt;br&gt;
&lt;br&gt;
Michael</description>
    </item>
    <item>
      <pubDate>Mon, 20 Apr 2009 09:04:02 -0400</pubDate>
      <title>Re: Right click over a pushbutton</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/249415#643955</link>
      <author>Sprinceana </author>
      <description>Any ideas?&lt;br&gt;
&lt;br&gt;
I'm doing right?</description>
    </item>
    <item>
      <pubDate>Mon, 20 Apr 2009 13:32:01 -0400</pubDate>
      <title>Re: Right click over a pushbutton</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/249415#644012</link>
      <author>Jiro Doke</author>
      <description>&quot;Sprinceana &quot; &amp;lt;mihaispr@yahoo.com&amp;gt; wrote in message &amp;lt;gsg0er$ehm$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &quot;Jiro Doke&quot; &amp;lt;jiro.doke@mathworks.com&amp;gt; wrote in message &amp;lt;gsfvs4$7ri$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; &quot;Sprinceana &quot; &amp;lt;mihaispr@yahoo.com&amp;gt; wrote in message &amp;lt;gsfvgo$feo$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; What I must select to the property Selection Type of figure1(I have normal,open,alt,extend) to perform a right click over my pushbutton?&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; I wait a response please!&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; I'm using guide!&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; I'm going to encourage you to take a look at the documentation. You seem to know the property Selection Type. If you search for that in the documentation, it will tell you which one you want.&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; jiro&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I've searched the documentation so it can be alt(alternate) or extent for selection type.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I wait your response which of this 2 is the best way to perform the right click over a pushbutton.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Also it is possible when I right click the button to appear me a popupmenu linke in C++ Builder(over right click on a button)?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks in advance!&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Michael&lt;br&gt;
&lt;br&gt;
Well, if you're trying to detect a &quot;right-click&quot;, the documentation says &quot;alternate&quot;.&lt;br&gt;
&lt;br&gt;
I'm not sure what you are saying when you say &quot;popupmenu like in C++ Builder&quot;.</description>
    </item>
    <item>
      <pubDate>Mon, 20 Apr 2009 19:26:02 -0400</pubDate>
      <title>Re: Right click over a pushbutton</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/249415#644114</link>
      <author>Sprinceana </author>
      <description>&quot;Jiro Doke&quot; &amp;lt;jiro.doke@mathworks.com&amp;gt; wrote in message &amp;lt;gshtgh$d81$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &quot;Sprinceana &quot; &amp;lt;mihaispr@yahoo.com&amp;gt; wrote in message &amp;lt;gsg0er$ehm$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; &quot;Jiro Doke&quot; &amp;lt;jiro.doke@mathworks.com&amp;gt; wrote in message &amp;lt;gsfvs4$7ri$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &quot;Sprinceana &quot; &amp;lt;mihaispr@yahoo.com&amp;gt; wrote in message &amp;lt;gsfvgo$feo$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; What I must select to the property Selection Type of figure1(I have normal,open,alt,extend) to perform a right click over my pushbutton?&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; I wait a response please!&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &amp;gt; I'm using guide!&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; I'm going to encourage you to take a look at the documentation. You seem to know the property Selection Type. If you search for that in the documentation, it will tell you which one you want.&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; jiro&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; I've searched the documentation so it can be alt(alternate) or extent for selection type.&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; I wait your response which of this 2 is the best way to perform the right click over a pushbutton.&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Also it is possible when I right click the button to appear me a popupmenu linke in C++ Builder(over right click on a button)?&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Thanks in advance!&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Michael&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Well, if you're trying to detect a &quot;right-click&quot;, the documentation says &quot;alternate&quot;.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I'm not sure what you are saying when you say &quot;popupmenu like in C++ Builder&quot;.&lt;br&gt;
&lt;br&gt;
Popupmenu with options(for example red,blue at items property in c++builder). So when I clicked right mouse on button in builder I see the items red,blue.&lt;br&gt;
&lt;br&gt;
That's why I want to say.&lt;br&gt;
&lt;br&gt;
So I made the pushbutton of type popupmenu and on string property I write red,blue and then the property alternate.&lt;br&gt;
&lt;br&gt;
When I click right it doesn't  make a right click on my button even I set figure property SelectionType alternate.&lt;br&gt;
&lt;br&gt;
What is my error?&lt;br&gt;
&lt;br&gt;
I wait your response!&lt;br&gt;
&lt;br&gt;
Thanks a lot,</description>
    </item>
    <item>
      <pubDate>Mon, 20 Apr 2009 20:03:01 -0400</pubDate>
      <title>Re: Right click over a pushbutton</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/249415#644122</link>
      <author>Jiro Doke</author>
      <description>&quot;Sprinceana &quot; &amp;lt;mihaispr@yahoo.com&amp;gt; wrote in message &amp;lt;gsii8a$qc6$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Popupmenu with options(for example red,blue at items property in c++builder). So when I clicked right mouse on button in builder I see the items red,blue.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; That's why I want to say.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; So I made the pushbutton of type popupmenu and on string property I write red,blue and then the property alternate.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; When I click right it doesn't  make a right click on my button even I set figure property SelectionType alternate.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; What is my error?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I wait your response!&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks a lot,&lt;br&gt;
&lt;br&gt;
What is a &quot;c++ builder&quot;?&lt;br&gt;
&lt;br&gt;
Anyway, why do you need it to be a right-click? Can you just use a popupmenu and click on it to get a list? Are you looking for a different action based on right-click or left-click? Also, you should *not* set the SelectionType property. It's not for you to set. It automatically changes to the appropriate setting based on which button you click.</description>
    </item>
    <item>
      <pubDate>Mon, 20 Apr 2009 20:12:01 -0400</pubDate>
      <title>Re: Right click over a pushbutton</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/249415#644125</link>
      <author>Sprinceana </author>
      <description>&quot;Jiro Doke&quot; &amp;lt;jiro.doke@mathworks.com&amp;gt; wrote in message &amp;lt;gsikdl$no0$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &quot;Sprinceana &quot; &amp;lt;mihaispr@yahoo.com&amp;gt; wrote in message &amp;lt;gsii8a$qc6$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Popupmenu with options(for example red,blue at items property in c++builder). So when I clicked right mouse on button in builder I see the items red,blue.&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; That's why I want to say.&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; So I made the pushbutton of type popupmenu and on string property I write red,blue and then the property alternate.&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; When I click right it doesn't  make a right click on my button even I set figure property SelectionType alternate.&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; What is my error?&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; I wait your response!&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Thanks a lot,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; What is a &quot;c++ builder&quot;?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Anyway, why do you need it to be a right-click? Can you just use a popupmenu and click on it to get a list? Are you looking for a different action based on right-click or left-click? Also, you should *not* set the SelectionType property. It's not for you to set. It automatically changes to the appropriate setting based on which button you click.&lt;br&gt;
&lt;br&gt;
Ok.&lt;br&gt;
&lt;br&gt;
I done that I removed selectiontype property from figure to normal.&lt;br&gt;
&lt;br&gt;
Pushbutton is property Style popupmenu with String : Blue,Red.&lt;br&gt;
&lt;br&gt;
But the menu with 2 options apppear only in left click of the mouse. Is it possible when I right click the button of type popupmenu to appear the menu for me?&lt;br&gt;
&lt;br&gt;
That's my simple question.&lt;br&gt;
&lt;br&gt;
Thanks for your response,&lt;br&gt;
&lt;br&gt;
Michael</description>
    </item>
  </channel>
</rss>

