Set cursor position in multiline uicontrol edit box

I'm trying to use a multiline uicontrol('Style','edit') box as a console of sorts to display feedback to the user. The problem I'm having is, as I add more and more text to the box and it fills up beyond it's height, I can only see as much text as the box is tall. Is there a way to manually set the cursor point in a uicontrol edit box?

Antworten (1)

Paulo Silva
Paulo Silva am 6 Jul. 2011

0 Stimmen

3 Kommentare

Eliezer
Eliezer am 6 Jul. 2011
Thanks for the link. Is there no other way other than by mucking around with the underlying java components?
Jan
Jan am 6 Jul. 2011
@Eliezer: No, there is no other way.
Unfortunately Mathworks doesn't show much love for MATLAB GUIs, you can only do basic things with the GUIs and you must use java for advanced things like the one you request.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Software Development finden Sie in Hilfe-Center und File Exchange

Produkte

Gefragt:

am 6 Jul. 2011

Community Treasure Hunt

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

Start Hunting!

Translated by