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?

回答 (1 件)

Anthony Poulin
Anthony Poulin 2015 年 7 月 3 日
編集済み: Anthony Poulin 2015 年 7 月 3 日

0 投票

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

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

タグ

質問済み:

2015 年 7 月 3 日

編集済み:

2015 年 7 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by