how to move a static text box?

5 ビュー (過去 30 日間)
Shree Nath
Shree Nath 2012 年 9 月 27 日
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?

採用された回答

Tom
Tom 2012 年 9 月 27 日
Check your units, it's probably gone off the figure
get(handles.text1,'Units')

その他の回答 (1 件)

Shree Nath
Shree Nath 2012 年 9 月 27 日
yeah you were right, it was set to 'charcters'.. thanks ^-^

カテゴリ

Help Center および File ExchangeEnvironment and Settings についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by