set editField 'invisible' in app-designer problem

41 views (last 30 days)
Yu Li
Yu Li on 29 May 2019
Commented: Yu Li on 29 May 2019
Hi:
I have a set of editField and I want to set them into 'invisible', the original display looks like below:
Capture.JPG
but after I set them into 'invisible', it becomes below:
Capture.JPG
some of the part are still there, so I want know, is there anyway to make them all disappear? or, is there any mistake with my operation?
Thanks!
Yu
  2 Comments
Yu Li
Yu Li on 29 May 2019
Yes, I want to set the texts invisible as well, but both the edit box and texts are belongs to the same app object.

Sign in to comment.

Accepted Answer

Guillaume
Guillaume on 29 May 2019
A uieditfield control is just the box where you enter your text or number. It looks like that's what you've set to invisible. Next to each of your edit field control you have labels. These are separe controls, you'll need to set their visibility properties to 'off' as well. Something like:
app.CrankEditField.Visible = 'off'; %make the edit field invisible
app.CrankEditFieldLabel.Visible = 'off'; %make the associated label invisible
%etc.
  3 Comments
Yu Li
Yu Li on 29 May 2019
Thank you! I found it and I'm able to set it into 'invisible'.
Bests,
Yu

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!