GUIDE programatically expand popup menu

I'd have a GUIDE popup menu that I'd like to open/close in response to someone typing in an edit box.
I can get the callback for the edit box, but how do I expand the popupmenu? i.e. show/hide the drop-down portion of it. Thanks...

 채택된 답변

Image Analyst
Image Analyst 2013년 11월 4일

0 개 추천

I don't think it's possible. I think your only hope is to use a API/system call or some undocumented java feature. See Yair's site: http://undocumentedmatlab.com/

댓글 수: 1

Thanks - after some digging through Yair's site and the JIDE Documentation, I'm using his findjobj from fileexchange and getting a handle to the JIDE popup itself:
jPopup = findjobj(findobj(gcbf,'Tag','popupmenu1'));
jPopup.hidePopup();
jPopup.showPopup();
Works great.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Environment and Settings에 대해 자세히 알아보기

질문:

2013년 11월 4일

댓글:

2013년 11월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by