nested popup boxes?

1 Ansicht (letzte 30 Tage)
Andy
Andy am 8 Sep. 2011
I use inputdlg to get a popup box when i pressed a button in my GUI. now i need another popup to come up when i press a button inside the inputdlg box. is this possible? So is like this, GUI -> Button -> popup box from inputdlg -> another popup box from the 1st popup
Thanks

Antworten (1)

Walter Roberson
Walter Roberson am 8 Sep. 2011
If you mean that when you point to the popup selection that a second popup box comes up, then the answer is that there is no provided facility to do that, and the mechanisms that could make it happen require advanced programming.
If you mean that when you click on a popup selection that a second popup box comes up, then that is relatively easy to code within the callback of the first popup.
  2 Kommentare
Andy
Andy am 8 Sep. 2011
i think i mean the second one, but i think i mean, i click on a button, and then a popup comes up, and then is it possible when i click something in that popup, another popup comes up? so its like button->popup (using inputdlg) -> and then another popup from the 1st popup. thanks
Walter Roberson
Walter Roberson am 8 Sep. 2011
Ah, I just realized that when you say "popup" you do *not* mean uicontrol('Style','popup') .
Anyhow, the answer to your question is Yes. However this falls in to the "if you want to get fancier" part of my answer to one of your previous questions, http://www.mathworks.com/matlabcentral/answers/15264-how-can-i-get-a-popup-from-a-push-button

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Environment and Settings finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by