Hi all,
I'm working with a multiple window GUI, and a feature I want is to lock the focus on a specific window at some point so the user cannot switch to the other windows unless they close the current one. Is that doable?
Thanks!
Niko

 採用された回答

per isakson
per isakson 2014 年 6 月 3 日
編集済み: per isakson 2014 年 6 月 4 日

1 投票

WindowStyle
{normal} | modal | docked
[...]
Modal figures remain stacked above all normal figures and the
MATLAB Command Window.
[...]
When multiple modal windows exist, the most recently created
window keeps focus and stays above all other windows until it
becomes invisible, or is returned to WindowStyle normal, or is
deleted. At that time, focus reverts to the window that last
had focus.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Startup and Shutdown についてさらに検索

タグ

質問済み:

2014 年 6 月 3 日

編集済み:

2014 年 6 月 4 日

Community Treasure Hunt

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

Start Hunting!

Translated by