Thread Subject: Activating & Inactivating a pushbutton

Subject: Activating & Inactivating a pushbutton

From: onur alptekin

Date: 15 Nov, 2009 09:42:02

Message: 1 of 2

Hi everybody,

I have a GUI using push buttons. There are 6 pushbuttons in my GUI. The first one is the 'LOAD' button. I want to inactivate other 5 pushbuttons first. Then when i push the 'LOAD' button, the other buttens shold be active.. How can i do that???

Subject: Activating & Inactivating a pushbutton

From: Pekka Kumpulainen

Date: 16 Nov, 2009 07:57:01

Message: 2 of 2

"onur alptekin" <onur_alptekin@hotmail.com> wrote in message <hdoida$93c$1@fred.mathworks.com>...
> Hi everybody,
>
> I have a GUI using push buttons. There are 6 pushbuttons in my GUI. The first one is the 'LOAD' button. I want to inactivate other 5 pushbuttons first. Then when i push the 'LOAD' button, the other buttens shold be active.. How can i do that???

Set the Enable property of the buttons. Initially off and in the LOAD buttons callback function set the other buttons on.

Tags for this Thread

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.

rssFeed for this Thread

Contact us at files@mathworks.com