Specify popup menu location on screen
古いコメントを表示
OK, I know this is an easy one, but I can't seem to get the syntax right. I have a line of code in which a popup menu appears to ask for an input:
mnu = menu('Add an element not listed?', 'No', 'Yes');
As is, I can never predict where the popup menu will appear on the screen. How can I specify the menu location so that it always appears near the center of my screen?
採用された回答
その他の回答 (1 件)
Walter Roberson
2012 年 1 月 26 日
0 投票
You have no control over where menu() will place the popup. I just rechecked the source and there is no user control there.
カテゴリ
ヘルプ センター および File Exchange で Interactive Control and Callbacks についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!