Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Window moves when menu opens

1 visualización (últimos 30 días)
Nick Bell
Nick Bell el 9 de Oct. de 2012
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
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!

Respuestas (2)

Sachin Ganjare
Sachin Ganjare el 9 de Oct. de 2012
Probably you have not specified the positions manually for GUI using 'Position' property.

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

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by