Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Avalon

Vista - Questions on Slider.ValueChanged

 
 
Old 03-19-2006   #1 (permalink)
Nick Howell


 
 

Questions on Slider.ValueChanged

From before, I'm trying to write a sinewave graphing program. I want
the wave to move across the screen with time, and I want the speed at
which it moves to be controlled by a slider.

Right now, I have an EventTrigger-Storyboard combination inside my
slider's triggers property; the event trigger fires on ValueChanged, and
it starts a storyboard that has a DoubleAnimation that increases the
sinewave's Time property; my problem is that when ValueChanged fires,
the value hasn't changed yet; if I drag it, the problem isn't noticable,
but if I click on the rail (to make the slider jump), the wavespeed
stays the same. I click again, the thing goes to the speed it *should*
have been at before.

How can I accomplish what I'm looking to do? Am I on the right track?
Should I be doing something else?

Thanks,
Nick

My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
audio slider/mixer do not work Sound & Audio
Volume slider drops to Zero Vista hardware & devices


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46