now why didnt I think of that

Thanks for the help... now to organize the code a little better so it can be read later too

BTW... how can i catch global keypresses? would be nice, so i dint have to select form...
(i put a edit on the form, and it wont work unless i sopy/paste the keydown/keyup procedures to the tedit's onkeydown/up events...