In GUI design, I want to use this statement to alter the components in GUI:
if num=0set(handles.item,'Sytle','edit');end
Hence, I can change popupmenu to edit textbox if no items are available in popupmenu.But it doesn't work.
Could anyone tell me correct way to do so?
Thanks 🙂
Best Answer