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
|
|