Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
set toggle butto

Subject: set toggle butto

From: pink

Date: 7 Jul, 2011 13:03:10

Message: 1 of 4

on the toolbar (figure) there is a zoom in, zoom out, pan and rotate. if I push the pan into the pan, then the condition on, when I press the zoom out pan then turn off the condition, whether the function to make the conditions on ToggleButton be on and off without pressing ToggleButton it?

Subject: set toggle butto

From: Steven_Lord

Date: 7 Jul, 2011 13:09:11

Message: 2 of 4



"pink " <wahyoe_slipnot@yahoo.co.id> wrote in message
news:iv4aqe$cpt$1@newscl01ah.mathworks.com...
> on the toolbar (figure) there is a zoom in, zoom out, pan and rotate. if I
> push the pan into the pan, then the condition on, when I press the zoom
> out pan then turn off the condition, whether the function to make the
> conditions on ToggleButton be on and off without pressing ToggleButton it?

help zoom
help pan
help rotate3d

--
Steve Lord
slord@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com

Subject: set toggle butto

From: pink

Date: 7 Jul, 2011 14:11:08

Message: 3 of 4

"Steven_Lord" <slord@mathworks.com> wrote in message <iv4b5m$dop$1@newscl01ah.mathworks.com>...
>
>
> "pink " <wahyoe_slipnot@yahoo.co.id> wrote in message
> news:iv4aqe$cpt$1@newscl01ah.mathworks.com...
> > on the toolbar (figure) there is a zoom in, zoom out, pan and rotate. if I
> > push the pan into the pan, then the condition on, when I press the zoom
> > out pan then turn off the condition, whether the function to make the
> > conditions on ToggleButton be on and off without pressing ToggleButton it?
>
> help zoom
> help pan
> help rotate3d
>
> --
> Steve Lord
> slord@mathworks.com
> To contact Technical Support use the Contact Us link on
> http://www.mathworks.com

is not it, how to setting a toggle button, if ToggleButton in the press (on) then the other ToggleButton be off

Subject: set toggle butto

From: Steven_Lord

Date: 7 Jul, 2011 14:13:17

Message: 4 of 4



"pink " <wahyoe_slipnot@yahoo.co.id> wrote in message
news:iv4eps$p25$1@newscl01ah.mathworks.com...
> "Steven_Lord" <slord@mathworks.com> wrote in message
> <iv4b5m$dop$1@newscl01ah.mathworks.com>...
>>
>>
>> "pink " <wahyoe_slipnot@yahoo.co.id> wrote in message
>> news:iv4aqe$cpt$1@newscl01ah.mathworks.com...
>> > on the toolbar (figure) there is a zoom in, zoom out, pan and rotate.
>> > if I push the pan into the pan, then the condition on, when I press the
>> > zoom out pan then turn off the condition, whether the function to make
>> > the conditions on ToggleButton be on and off without pressing
>> > ToggleButton it?
>>
>> help zoom
>> help pan
>> help rotate3d
>>
>> --
>> Steve Lord
>> slord@mathworks.com
>> To contact Technical Support use the Contact Us link on
>> http://www.mathworks.com
>
> is not it, how to setting a toggle button, if ToggleButton in the press
> (on) then the other ToggleButton be off

Have the callback for the first button SET the Value property of the second
button.

http://www.mathworks.com/help/techdoc/ref/uicontrol_props.html#Value

--
Steve Lord
slord@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com

Tags for this Thread

No tags are associated with this thread.

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.

Contact us