Changing enable field in GUI property inspector

2 visualizaciones (últimos 30 días)
Andy
Andy el 26 de Mzo. de 2012
How to i change the enable field in the property ispector?
I have a radio button that when pressed, i want it to disable a text box.
this is what i have
set(handles.ions_dir, 'Enable', false)
where ions_dir is the text box i am trying to disable
but it doesnt seem to work. anyone know whats the correct command? thanks

Respuesta aceptada

Oleg Komarov
Oleg Komarov el 26 de Mzo. de 2012
set(handles.ions_dir, 'Enable', 'off')
  8 comentarios
Oleg Komarov
Oleg Komarov el 26 de Mzo. de 2012
With that much info you gave us it would be impossible to guess what calls what.
I suggest to place a break point in the callback to see if it's called.
Andy
Andy el 26 de Mzo. de 2012
i got it working, i changed the call back part in the property inspector, thanks!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by