Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Slider of an edit box

Subject: Slider of an edit box

From: krzychu

Date: 21 Jun, 2010 12:39:08

Message: 1 of 2

Hi all,

for adding an edit text box within a figure I do the following:

htext = uicontrol('Style','edit', 'Max', 2, 'Enable','inactive', 'HorizontalAlignment','left');

Now I would like to reach the sliders within that "object"(?).

How do I do that?

Why do I want to do that?

The sliders seems not to support "auto-scrolling"....

Thanks in advance,
best,
k.

Subject: Slider of an edit box

From: Yair Altman

Date: 21 Jun, 2010 17:26:22

Message: 2 of 2

"krzychu " <krzychu@paliga.eu> wrote in message <hvnmhc$ouc$1@fred.mathworks.com>...
> Hi all,
>
> for adding an edit text box within a figure I do the following:
> htext = uicontrol('Style','edit', 'Max', 2, 'Enable','inactive', 'HorizontalAlignment','left');
> Now I would like to reach the sliders within that "object"(?).
> How do I do that?
> Why do I want to do that?
> The sliders seems not to support "auto-scrolling"....
>
> Thanks in advance,
> best,
> k.

What do you mean by "Auto-scrolling"? what is the behavior that you need?

Yair Altman
http://UndocumentedMatlab.com

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us