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

2 views (last 30 days)
hello matlab gurus! I have edit box in gui and I want to begin writing a text from top left side. Any ideas?

Answers (1)

Anthony Poulin
Anthony Poulin on 3 Jul 2015
Edited: Anthony Poulin on 3 Jul 2015
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])

Tags

Community Treasure Hunt

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

Start Hunting!