Thread Subject: Set checkbox checked when the step is done.

Subject: Set checkbox checked when the step is done.

From: karen liew

Date: 30 Sep, 2008 09:21:02

Message: 1 of 3

I am doing a GUI project requires user input step by step. I would like to remind the user which data is done. I am thinking to check the checkbox automatically according to the step. May I know is that possible doing so using MATLAB? If yes, how to do it? Thanks!

Subject: Set checkbox checked when the step is done.

From: Dave Brackett

Date: 30 Sep, 2008 09:33:01

Message: 2 of 3

"karen liew" <liewsheaushiang@yahoo.com> wrote in message <gbsr1u$3ek$1@fred.mathworks.com>...
> I am doing a GUI project requires user input step by step. I would like to remind the user which data is done. I am thinking to check the checkbox automatically according to the step. May I know is that possible doing so using MATLAB? If yes, how to do it? Thanks!

At the relevant step use

set(handles.checkbox1,'Value',1)

find the tag of each checkbox from the property inspector.

Subject: Set checkbox checked when the step is done.

From: Thomas Clark

Date: 30 Sep, 2008 09:37:01

Message: 3 of 3

Hi Karen.

set(handles.checkbox1,'Value',1);

...places a tick in the box. To find out more things like this, right click on the object in GUIDE than look at the property inspector. The best way of learning is to look down the list of properties, find likely looking ones, and mess about with them! There are always the help pages to describe what particular properties do...

Kind Regards

Tom Clark


"karen liew" <liewsheaushiang@yahoo.com> wrote in message <gbsr1u$3ek$1@fred.mathworks.com>...
> I am doing a GUI project requires user input step by step. I would like to remind the user which data is done. I am thinking to check the checkbox automatically according to the step. May I know is that possible doing so using MATLAB? If yes, how to do it? 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
checkbox karen liew 30 Sep, 2008 05:25:04
gui karen liew 30 Sep, 2008 05:25:04
rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com