Thread Subject: GUI

Subject: GUI

From: Elshaymaa

Date: 26 Jun, 2009 08:01:02

Message: 1 of 3

Dear sir
i have read this message:
vin j wrote:
> I wish to have and object (pushbutton) which is in a shape of and Arrow for my GUI
> .Am i able to create different shape and sizes?

You would probably have to use the java level in order to do it. There is
no Matlab provided facility for custom push-button shapes.

Note: another possibility would be to create a patch object of the appropriate
shape; you could then have a callback for when the object was clicked on.
But you would have to "manually" change the drawing to show the "pushed in" shape.
Possibly the easiest way to do that would be to draw both shapes but set
the appropriate one to have visibility off according to whether the shape
was pushed in or not.


--
Q = quotation(rand);
if isempty(Q); error('Quotation server filesystem problems')
else sprintf('%s',Q), end


****** So, please how can i use this other possibility (or any other way) to change the GUI push button shapes?
Would you please send me any link for this topic?
******* How can i align text vertically in the static text box?

                                                        Thanks

Subject: GUI

From: Nathan

Date: 26 Jun, 2009 16:28:16

Message: 2 of 3

On Jun 26, 1:01 am, "Elshaymaa " <enge...@yahoo.com> wrote:
> Dear sir
> i have read this message:
>
> vin j wrote:
> > I wish to have and object (pushbutton) which is in a shape of and Arrow for my GUI
> > .Am i able to create different shape and sizes?
>
> You would probably have to use the java level in order to do it. There is
> no Matlab provided facility for custom push-button shapes.
>
> Note: another possibility would be to create a patch object of the appropriate
> shape; you could then have a callback for when the object was clicked on.
> But you would have to "manually" change the drawing to show the "pushed in" shape.
> Possibly the easiest way to do that would be to draw both shapes but set
> the appropriate one to have visibility off according to whether the shape
> was pushed in or not.
>
> --
> Q = quotation(rand);
> if isempty(Q); error('Quotation server filesystem problems')
> else sprintf('%s',Q), end
>
> ****** So, please how can i use this other possibility (or any other way) to change the GUI push button shapes?
> Would you please send me any link for this topic?
> *******  How can i align text vertically in the static text box?
>
>                                                         Thanks

I don't personally know how to fix your push button problem.
For vertically alligned static text box, look here:
http://www.mathworks.de/matlabcentral/newsreader/view_thread/238700

-Nathan

Subject: GUI

From: Elshaymaa M.E.

Date: 27 Jun, 2009 06:42:01

Message: 3 of 3

Dear Sir
Thanks in advance for your reply, but my question was how to align text vertically in a horizontal static text box, since text appears shifted to the top of the text box.
                                                                     Thanks

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
static text box Elshaymaa M.E. 27 Jun, 2009 02:44:05
rssFeed for this Thread

Contact us at files@mathworks.com