フィルターのクリア

GUIDE programatically expand popup menu

5 ビュー (過去 30 日間)
Alex
Alex 2013 年 11 月 4 日
コメント済み: Alex 2013 年 11 月 5 日
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 日
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 件のコメント
Alex
Alex 2013 年 11 月 5 日
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 件)

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by