CCLINT
Thanks for your reply.
I've been playing around with the KeyPress event but can't get it to do what I want.
What I'd like is to have a variable increase from zero to some value, say 10000, while I hold down one key, say the F2 key, and decrease if I hold down another key, say F1.
Can you suggest some code to do this?
domt