From: sylar on
Hello,

I have an editable text box. If I highlight some of the text in the box, is it possible to store it in a variable. Secondly, I want to ask if I can use a background picture instead of the normal gray if I make a layout in GUIDE.
Any help will be appreciated. Thank you.
From: Walter Roberson on
sylar wrote:

> I have an editable text box. If I highlight some of the text in the box, is it possible to store it in a variable.

You will need to work at the Java level in order to do that. I
understand from previous reading that it is possible to do, but it is
not "supported" functionality.

> Secondly, I want to ask if I can use a background picture instead of the normal gray if I make a layout in GUIDE.

Yes, you could create an axis covering the figure and place an image
upon the axis. Note, though, that most gui elements are boxes and that
it is not possible to get the background image to show anywhere in those
boxes -- so for example, if you used a uicontrol('Style','text') then
the image would not show in a box around where the text was.

Also, if you were to use subplot() then subplot() would remove the axis
the background image was on, thus deleting the image.