Re: see what key was pressed
One of the easiest ways is to set the forms keypreview property to true
Then in form keypress you can see which key is pressed.
You can also do this in a controls keypress event.
This works for the more common keys. in some cases you may need to use the keydown event instead.
Re: see what key was pressed
Do not use the changed event for this as this event can fire when no key has been pressed and can lead to errors in your program.
Re: see what key was pressed
hi,
thanks for your help
i have done that of the forms key pressed and that works perfect for what i need!
thanks a lot for your help :)