Home »
Public Forums »
archive »
Re: How to pass the slider value?
Re: How to pass the slider value? [message #16043] |
Wed, 30 June 1999 00:00 |
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
|
|
|
Current Time: Fri Oct 10 09:24:28 PDT 2025
Total time taken to generate the page: 0.08265 seconds