R2014b, where'd 'TitleHandle' go? uipanel
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Christopher
el 9 de Oct. de 2014
Comentada: Christopher
el 9 de Oct. de 2014
Hello,
I'm developing a GUI and recently updated to 2014b. I was using
hTitle = get(handles.uipanel,'TitleHandle');
newPos = get(hTitle,'position') + [0,0,20,0];
set(hTitle,'style','checkbox','Callback', {@Adv1_SelectionCb,handles},'pos',newPos);
which successfully converted the title of a uipanel to a checkbox. In 2014b however, there is no longer access to the hidden property "TitleHandle". I tried a few different ways to findobj() for this handle but have not been successful.
>> How can I gain access to a uipanel title handle, so that I may change the style to ___ (check/radio/..) <<
Thank you!
0 comentarios
Respuesta aceptada
Más respuestas (1)
Doug Hull
el 9 de Oct. de 2014
This undocumented feature has been removed in r2013b. You can access the title when you have the handle to the uipanel. However, the ability to change the titles type to checkbox is not possible.
What are you trying to accomplish, maybe there is a different User affordance that is supported and will do the same thing.
Ver también
Categorías
Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!