Info

此问题已关闭。 请重新打开它进行编辑或回答。

Window moves when menu opens

1 次查看(过去 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