Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: why slider disapear?

  • Subject: Re: why slider disapear?
  • From: Roy Schestowitz <newsgroups@schestowitz.com>
  • Date: Mon, 17 Jan 2005 02:39:39 +0000
  • Newsgroups: comp.soft-sys.matlab
  • References: <eef8b9f.-1@webx.raydaftYaTP> <csdpjl$31f4$1@godfrey.mcc.ac.uk> <eef8b9f.1@webx.raydaftYaTP>
  • User-agent: KNode/0.7.2
qu wrote:

> Roy Schestowitz wrote:
>>
>>
>> qu wrote:
>>
>>> hi,all.
>>> I create a GUI with sliders to show image. I only set the
>> attributes
>>> min and max,but when i almost drag the slider to the
> end(max),the
>>> slider disappear,and the command window
>>> show the message:
>>> thank you in advance.
>>> qu
> 
>>
>> This happens when your slider gets assigned a value that falls
>> outside the
>> range you specified, e.g. in GUIDE. This should never happen if you
>> know
>> what you are doing.
>>
>> -Check what range your slider is initialised to fit.
>>
>> -When you change the slider value attribute, print it and see where
>> it all
>> goes wrong.
>>
>> Roy
>>
>> --
>> Roy Schestowitz
>> <http://schestowitz.com>
>>
> yes,when the attribute value of slider changes,i print it and
> attribute max and value is not more than max but the slider still
> disappear.
> it is too strange to me.
> qu

Make sure you check its initial value as well... this tripped me once
before.

-- 
Roy Schestowitz
http://schestowitz.com

[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index