I've a string that isn't always viewable within my edit box. I'd like to be able to move the cursor and/or adjust the view of the edit box so that the user can see the end of the string.
myFig = figure;myEdit = uicontrol(myFig,'style','edit',... 'string','a string that is way too long to see for this edit box',... 'units','normalized',... 'position',[.45 .45 .25 .1],... 'enable','inactive');
From this example, you cannot edit the text but you also cannot highlight the text to scroll horizontally and can only see part of the string. Is there a callback function that can be created to solve this?
Best Answer