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

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)

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])

Categories

Find more on MATLAB in Help Center and File Exchange

Tags

Asked:

on 3 Jul 2015

Edited:

on 3 Jul 2015

Community Treasure Hunt

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

Start Hunting!