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

Home » Public Forums » archive » change widget slider maximum dynamically?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
change widget slider maximum dynamically? [message #17594] Tue, 02 November 1999 00:00 Go to next message
Rob Dimeo is currently offline  Rob Dimeo
Messages: 17
Registered: November 1999
Junior Member
Hi,

No doubt someone has probably figured this one out some time ago.
However can anyone help me with using the widget slider control? In
particular I would like to be able to set the maximum value of the
widget slider dynamically (i.e. after the slider has been realized). I
would like to set the maximum value of the slider at the conclusion of
reading in a data set. Since a new data set may contain a different
number of "groups" then the first one then it would be ideal to simply
update the maximum in the slider.

Thanks in advance!

Rob
--
Robert M. Dimeo
NIST Center for Neutron Research
National Institute of Standards and Technology
100 Bureau Drive - Stop 8562
Gaithersburg, MD 20899-8562

Telephone: (301) 975-8135
FAX: (301) 921-9847

www.ncnr.nist.gov/staff/dimeo
www.ncnr.nist.gov/instruments/hfbs
Re: change widget slider maximum dynamically? [message #17669 is a reply to message #17594] Wed, 03 November 1999 00:00 Go to previous message
wbiagiot is currently offline  wbiagiot
Messages: 59
Registered: January 1999
Member
>
> SET_SLIDER_MAX
>

> SET_SLIDER_MIN
>

I've been using these two keywords for a long time to control the
current visible range of plotted points on graphs. When the limits for
the subplot are changed, the min/max values must be changed
accordingly for the sliders.

BTW, I've used the Floating Point Slider and find it very cludgey and
awkward (only updates upon an upclick). Would be nice to have RSI
*write their own* in ANSI C and bring it up to the standards of the
other widgets. Last I checked, the FP Slider is just a combination of a
slider and a text widget.

-wrb1000

--
"They don't think it be like it is, but it do."

Oscar Gamble, NY Yankees


Sent via Deja.com http://www.deja.com/
Before you buy.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: undefined keyword variables
Next Topic: IDLgrPlot

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

Current Time: Wed Oct 08 19:53:12 PDT 2025

Total time taken to generate the page: 0.00507 seconds