Hi
Maybe not the tidiest way of doing it, but couldn't you create a shared
sub on your main form and call it from each OnKeyDown?
Cyberdot wrote:
> Hello,
> my application consists of a few forms. One form is the main form, wich
> loads the other forms in fullscreen (to get one form as the title bar, one as
> the window, etc...), so the main form is coverd by severel other forms. My
> problem is, that I want to catch the onKeyDown Event, regardless of which
> form is actually loaded. I tried it in the main form, but I think because
> it's not the active form where the user acts in, I can't get the event. Does
> somebody know a way to do this?
>
> Thx,
> Cyberdot
|