Problem with panels in a GUI

Hello,
I have a panel in a GUI, over this panel I have an edit text and a push button. At the beginning I only want to see the edit text and the push button:
set(handles.panel,'Visibility','off')
set(handles.editText,'visibility','on')
set(handles.button,'visibility','on')
This doesn't work, the edit text and the push button doesn't appear when I run the tool.
Thank you

3 Kommentare

Walter Roberson
Walter Roberson am 29 Aug. 2013
I would re-check to be sure the edittext and button are not parented to the panel.
Joe Bisbing
Joe Bisbing am 29 Aug. 2013
not sure if it will make a difference, but looks like you have a mix of V and v's in there.
Walter Roberson
Walter Roberson am 29 Aug. 2013
Joe, It would not make a difference for the properties of handle graphics objects.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu App Building finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 29 Aug. 2013

Community Treasure Hunt

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

Start Hunting!

Translated by