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 #35577] Mon, 07 July 2003 14:34 Go to previous message
Dave Greenwood is currently offline  Dave Greenwood
Messages: 33
Registered: October 2000
Member
In a previous article, Karthikayan Balakrishnan <lovedale27@hotmail.NOSPAM.com.PLEASEREMOVETHIS> wrote:
> Hello All,
> 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? Thanks.
> Karthik.

I created my own variation on RSI's CW_FSLIDER and WIDGET_SLIDER which
allowed me to specify intervals (or specific allowable values) for a
slider. It's not an object and it's not well tested but you're welcome
to it if you're interested. (It requires 4 bit map files to provide
Windows-like arrowheads on X displays.)

Dave
--------------
Dave Greenwood Email: Greenwoodde@ORNL.GOV
Oak Ridge National Lab %STD-W-DISCLAIMER, I only speak for myself
[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 15:41:42 PDT 2025

Total time taken to generate the page: 0.00363 seconds