From: Rob Ing on
Hi,

I have a a edit text box on a GUI and i dont know what ive done but its magically gained up and down buttons. The up and down buttons look like they are suppose to change the value in my edit text box.

I dont want these buttons at all. Would anyone know how i could get rid of them please?
From: Richard on
"Rob Ing" <ringham3(a)hotmail.com> wrote in message <ho5nhj$sji$1(a)fred.mathworks.com>...
> Hi,
>
> I have a a edit text box on a GUI and i dont know what ive done but its magically gained up and down buttons. The up and down buttons look like they are suppose to change the value in my edit text box.
>
> I dont want these buttons at all. Would anyone know how i could get rid of them please?

why dont you delete the edit text box and do another one?
From: Walter Roberson on
Rob Ing wrote:

> I have a a edit text box on a GUI and i dont know what ive done but its
> magically gained up and down buttons. The up and down buttons look like
> they are suppose to change the value in my edit text box.

> I dont want these buttons at all. Would anyone know how i could get rid
> of them please?

Did you set the 'Maximum' parameter to something larger than 1 ? If so,
then what you are setting is probably a scroll-bar. When Maximum minus
Minimum is > 1 then the edit box accepts an indefinite number of input
lines, and so potentially needs a scroll-bar to allow the user to move
back and forth through the input.
From: Rob Ing on
"Richard " <richardlake(a)hotmail.com> wrote in message <ho5o0l$614$1(a)fred.mathworks.com>...
> "Rob Ing" <ringham3(a)hotmail.com> wrote in message <ho5nhj$sji$1(a)fred.mathworks.com>...
> > Hi,
> >
> > I have a a edit text box on a GUI and i dont know what ive done but its magically gained up and down buttons. The up and down buttons look like they are suppose to change the value in my edit text box.
> >
> > I dont want these buttons at all. Would anyone know how i could get rid of them please?
>
> why dont you delete the edit text box and do another one?

If i did, i would have to go to my program and change all the references to it which is a bit of a pain. Im sure there is a simple option that just needs to be changed.
From: Rob Ing on
Walter Roberson <roberson(a)hushmail.com> wrote in message <ho5ofn$mpv$1(a)canopus.cc.umanitoba.ca>...
> Rob Ing wrote:
>
> > I have a a edit text box on a GUI and i dont know what ive done but its
> > magically gained up and down buttons. The up and down buttons look like
> > they are suppose to change the value in my edit text box.
>
> > I dont want these buttons at all. Would anyone know how i could get rid
> > of them please?
>
> Did you set the 'Maximum' parameter to something larger than 1 ? If so,
> then what you are setting is probably a scroll-bar. When Maximum minus
> Minimum is > 1 then the edit box accepts an indefinite number of input
> lines, and so potentially needs a scroll-bar to allow the user to move
> back and forth through the input.

Indeed that is what i have done. I have set the max value to 250 and min value to 10.
I already have a slide bar that does that the job of moving through the values. I prefer the look of the slide bar to the scroll-bar that it has put on the side. Is there anyway i can over ride this?
I have set the max and min values, so it can move my slide bar to the appropriate place. So the user can input the value either by the slider or by the edit box.