Re: CW_FSLIDER woes [message #15686] |
Mon, 07 June 1999 00:00 |
rmlongfield
Messages: 68 Registered: August 1998
|
Member |
|
|
In article <7j975a$kok$1@nnrp1.deja.com>,
throop@colorado.edu wrote:
> I'm having some weird behavior with CW_FSLIDER. The situation is that
Hi Henry,
Good that you supplied a test program. You do not give any intitial
VALUE in the CW_SLIDER() function (The default, I guess, was 0 and this
did not lie between your min and max, I don't know why it worked with
the FLOAT) . I added it like:
mid= min+(max-min)/2.0d
slider = cw_fslider(base,min=min,max=max,VALUE=mid)
And it worked. I also recall reading somewhere that the event handler
function should be above the main code. This doesn't affect your error,
I think, but may appear when you least expect it (like exiting IDL and
re-entering it)
Rose
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
|
|
|