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