How to activate drop down menus by clicking instead of hovering

4 ビュー (過去 30 日間)
John
John 2015 年 9 月 7 日
コメント済み: John 2015 年 9 月 8 日
Hi guys,
i just started creating a complex GUI and i am not that experienced yet. What i would like to have is a menu bar that contains dropdown menus as well as simple buttons... So for example the Tab 'Model' consists of a dropdown menue whereas the Tab 'Help' doesnt offer any other options. So Clicking help should immediately activate a callback whereas clicking 'Model' shall open the dropdown menu for further choices to be made...how can i realize this??? so far i created this Surface below with the GUIDE environment that automatically implements hovering over the tabs insteand of clicking...
I would be very glad for your help:) Best regards, John
  6 件のコメント
Image Analyst
Image Analyst 2015 年 9 月 7 日
You forgot to attach your .fig and .m files with the paper clip icon. As of now, no one can try anything with your code.
John
John 2015 年 9 月 8 日
Hi Image Analyst,
so here is my hole GUI attached. It works nice apart from the fact that the menu does behave as described above! i dont know how to solve this issue..would be quite important to have a functioning menu somehow... the Try1_subgui.m ist a GUI that is called when the menu-button settings in Try1.m is activated. It is just the basic so far because i just startet with getting familiar with GUI.
However, every menu that i create with GUIDE behaves this way...this is definately not intended!! i dont know how to fix it or what other options i do have to create a functioning menu-bar.
Best regards, john

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeInstall Products についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by