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

Home » Public Forums » archive » Re: Slider Question
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: Slider Question [message #35582 is a reply to message #35581] Mon, 07 July 2003 12:48 Go to previous messageGo to previous message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
David Fanning wrote:
>
> Karthikayan Balakrishnan writes:
>
>> Is there a way to make a slider go in intervals of 5 instead of 1.
>> What I mean is this: when I use a slider in a widget, it displays in
>> intervals of 1. Is there a way that allows me to start with say 5 and end
>> with 100. The second allowable point on the slider is 10, the third 15, the
>> fourth 20 and so on. I know that I can multiply by 5 in the event_pro
>> procedure but that is not reflected in the slider's label. Any suggestions
>> or recommendations?
>
> This is exactly why God made objects. (Well, one
> of the *many* reasons, but certainly one of the
> most practical.) Write yourself a little compound
> widget/object that sets it's own label in units
> of 5.

My preference would be for RSI^H^H^HGod to have included a SET_SLIDER_INCREMENT keyword to
WIDGET_CONTROL. Then one wouldn't have to write *any* new software.

Now that's productivity :o)

paulv

--
Paul van Delst
CIMSS @ NOAA/NCEP/EMC
Ph: (301)763-8000 x7748
Fax:(301)763-8545
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Re: memory consumption when drawing an idlgrscene object re: junk mail
Next Topic: Re: Variable y-axis sizes in multiplot/ladder?

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

Current Time: Wed Oct 08 19:33:04 PDT 2025

Total time taken to generate the page: 0.00414 seconds