[hpsdr] KK Kuestion
Mark Amos
mark at amos-family.com
Fri Jul 31 15:40:14 PDT 2009
George,
Never mind... MouseUp did the trick.
I'll look a little more before I post next time.
Mark
-----Original Message-----
From: Mark Amos [mailto:mark at amos-family.com]
Sent: Friday, July 31, 2009 6:18 PM
To: 'hpsdr at lists.openhpsdr.org'
Subject: KK Kuestion
George,
Yes, that was the problem. Thanks!
Geez, do I feel silly. I was cutting and pasting code from other parts of
the app for the code that I needed and picked some event code from an object
that had a SelectedIndexChanged event... instead of the ValueChanged bit.
I didn't know about the properties/event/double-click-auto-generate
feature... I just loaded the C# IDE this week, so I'm a real newbie with the
environment. I need to learn how to effectively debug in this environment -
I should have been able test whether the event was firing. I've built
myself a little "test" project to learn more of the basics and to play
around with the forms/elements in a minimal environment. Not used to these
GUI bits.
As at work, one good answer earns another question. Is there a trick to
"decimate" the up/down events (so that the event doesn't fire until the user
lifts his finger off the up or down control? Seems like a waste to fire on
each event.) I think I could do it with a timer, but just thought there
might be a built-in trick/best practice for this kind of thing...
In any case, thank you indeed!!
Mark
1249080014.0
More information about the Hpsdr
mailing list