How can I set the text position of a UICONTROL edit textbox in MATLAB?

4 views (last 30 days)
I have created a multi-line UICONTROL edit text box that contains more lines of text than can be displayed in the box at any one time. The slider bar on the right side controls which portion of text is displayed when I click and drag it.
I want to know if there is a way for me to control this positioning from the command line by accessing the handle structure of the UICONTROL.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 23 Feb 2019
The ability to programmatically control the position of a UICONTROL textbox's displayed data is not available in MATLAB.
As a workaround, consider using a listbox for your application as it does allow you to control the position of the displayed text.

More Answers (0)

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!