Azzera filtri
Azzera filtri

how to move a static text box?

3 visualizzazioni (ultimi 30 giorni)
Shree Nath
Shree Nath il 27 Set 2012
I am trying to move a gui static text box progamatically, by pushing a button which performs - "set(handles.text1,'Position',[25 43 23 12]);"
but this doesn't work, the static text box just gets disappeared.
is their any other way to do it?

Risposta accettata

Tom
Tom il 27 Set 2012
Check your units, it's probably gone off the figure
get(handles.text1,'Units')

Più risposte (1)

Shree Nath
Shree Nath il 27 Set 2012
yeah you were right, it was set to 'charcters'.. thanks ^-^

Categorie

Scopri di più su Migrate GUIDE Apps in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by