Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Window moves when menu opens

2 ビュー (過去 30 日間)
Nick Bell
Nick Bell 2012 年 10 月 9 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I have a GUI that brings up a menu on pressing some buttons, and when this happens, the GUI moves to its default position on the screen, even if it has been moved. Is there a way to disable this behaviour? I have tried various searches but don't think I'm describing the problem well enough for google!

回答 (2 件)

Sachin Ganjare
Sachin Ganjare 2012 年 10 月 9 日
Probably you have not specified the positions manually for GUI using 'Position' property.

Walter Roberson
Walter Roberson 2012 年 10 月 9 日
Possibly your callbacks for the menu are calling the GUI itself by name, causing it to re-execute the code that sets the position.

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by