How to set coursor on top left side of edit in matlab gui?

4 次查看(过去 30 天)
hello matlab gurus! I have edit box in gui and I want to begin writing a text from top left side. Any ideas?

回答(1 个)

Anthony Poulin
Anthony Poulin 2015-7-3
编辑:Anthony Poulin 2015-7-3
If you are able to find the position on your screen (X,Y) of the top left side of your edit box, you can use: set(0,'PointerLocation', [X Y])

类别

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