how to move a static text box?

3 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by