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

Home » Public Forums » archive » Re: How to pass the slider value?
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
Re: How to pass the slider value? [message #16043] Wed, 30 June 1999 00:00
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Leonid Syrkin (lsyrkin@yahoo.com) writes:

> I am writing a widget program that can display multiframe images. I
> created tlb widget and several children widgets. One of them 'cine'
> should display animation. I would like to have an opportunity to change
> the speed of this animation. I tried to make 'slider' widget as a child
> of 'cine' and to pass the value from widget_slider structure back to
> 'cine'. I tried to assign UValue=speed in 'cine' and pass event.value of
> the sliders event_structure to the speed in slider's event handler. As
> well I tried to pass speed trough tlb' info. I did not have a success in
> both cases. I suppose it is a very basic task and could be resolved with
> some very easy way but I cannot find it.
>
> Can anybody explain me how to pass slider's value into the parent vidget
> or send me any easy example with something similar?

This is a question that has come up a couple of times.
I've updated my XMOVIE program with a slider that will
allow the user to set a delay for the movie frames. XMOIVE,
some of you will recall, shows the correct way to write an
animation sequence in a widget program.

http://www.dfanning.com/programs/xmovie.pro

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Extra space around widget windows....
Next Topic: Nutty query.

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

Current Time: Thu Oct 09 23:44:38 PDT 2025

Total time taken to generate the page: 0.47675 seconds