Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Avalon

Questions on Slider.ValueChanged

Update your Vista Drivers Update Your Drivers Now!!
Closed Thread
 
Thread Tools Display Modes
Old 03-19-2006   #1 (permalink)
Nick Howell
Guest


 

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
Closed Thread

Thread Tools
Display Modes



Similar Threads
Thread Thread Starter Forum Replies Last Post
Volume slider drops to Zero doboy Vista hardware & devices 1 06-20-2007 06:09 PM
Volume slider automatically adjusts to ZERO! doboy Vista General 0 06-19-2007 05:10 PM
Slider Control Styling Jobi Joy Avalon 1 10-13-2006 08:17 AM
Binding a value display for a slider? Doug Brown Avalon 0 07-18-2006 07:53 AM
Slider control use Jason Dolinger Avalon 2 01-10-2006 03:54 PM


Vistax64.com 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 2005-2008

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 47 48 49 50 51