Path: news.mathworks.com!not-for-mail
From: "Sprinceana " <mihaispr@yahoo.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Right click over a pushbutton
Date: Mon, 20 Apr 2009 19:26:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 42
Message-ID: <gsii8a$qc6$1@fred.mathworks.com>
References: <gsfvgo$feo$1@fred.mathworks.com> <gsfvs4$7ri$1@fred.mathworks.com> <gsg0er$ehm$1@fred.mathworks.com> <gshtgh$d81$1@fred.mathworks.com>
Reply-To: "Sprinceana " <mihaispr@yahoo.com>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1240255562 27014 172.30.248.37 (20 Apr 2009 19:26:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 20 Apr 2009 19:26:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1740796
Xref: news.mathworks.com comp.soft-sys.matlab:534158


"Jiro Doke" <jiro.doke@mathworks.com> wrote in message <gshtgh$d81$1@fred.mathworks.com>...
> "Sprinceana " <mihaispr@yahoo.com> wrote in message <gsg0er$ehm$1@fred.mathworks.com>...
> > "Jiro Doke" <jiro.doke@mathworks.com> wrote in message <gsfvs4$7ri$1@fred.mathworks.com>...
> > > "Sprinceana " <mihaispr@yahoo.com> wrote in message <gsfvgo$feo$1@fred.mathworks.com>...
> > > > 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?
> > > > 
> > > > I wait a response please!
> > > > 
> > > > I'm using guide!
> > > 
> > > 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.
> > > 
> > > jiro
> > 
> > 
> > I've searched the documentation so it can be alt(alternate) or extent for selection type.
> > 
> > I wait your response which of this 2 is the best way to perform the right click over a pushbutton.
> > 
> > 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)?
> > 
> > Thanks in advance!
> > 
> > Michael
> 
> Well, if you're trying to detect a "right-click", the documentation says "alternate".
> 
> I'm not sure what you are saying when you say "popupmenu like in C++ Builder".

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.

That's why I want to say.

So I made the pushbutton of type popupmenu and on string property I write red,blue and then the property alternate.

When I click right it doesn't  make a right click on my button even I set figure property SelectionType alternate.

What is my error?

I wait your response!

Thanks a lot,