comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Changing maximum of slider
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Changing maximum of slider [message #6708 is a reply to message #6704] Thu, 08 August 1996 00:00 Go to previous messageGo to previous message
dwu is currently offline  dwu
Messages: 14
Registered: November 1995
Junior Member
Thank you for your method. But this only changes label of the slider
(maybe only the slider_min, not the slider_max, since the length is
fixed), cannot change the calculation of the slider.
Maybe just writing another cw_slider.pro is a good solution.

Maybe I'm wrong, I haven't try your method yet.

Thanks again.

Robert Moss (mossrm@texaco.com) wrote:
: ; x = new slider max, y = new slider min
: widget_control, widget_info( wid, /child ), get_uvalue = state, /no_copy
: widget_control, state.slideid, set_slider_max = x, set_slider_max = y
: state.top = x ;update the cw_slider state structure
: state.bot = y
: widget_control, widget_info( wid, /child ), set_uvalue = state, /no_copy
:
: I havent tried this, but I'd say its definitely worth a shot...
:
: Robert
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem with create_struct under OpenVMS
Next Topic: Cartography with IDL

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:25:18 PDT 2025

Total time taken to generate the page: 0.00446 seconds