PC Review


Reply
Thread Tools Rate Thread

Catch onKeyDown Event

 
 
=?Utf-8?B?Q3liZXJkb3Q=?=
Guest
Posts: n/a
 
      28th Sep 2004
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
 
Reply With Quote
 
 
 
 
Paul [Paradise Solutions]
Guest
Posts: n/a
 
      28th Sep 2004
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

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OnKeyDown Event mackiaau Microsoft Access Form Coding 1 14th Aug 2008 06:17 PM
How to raise an event of button (click event) from textbox's onkeydown event? ABC Microsoft Dot NET Framework Forms 2 25th Jul 2006 11:19 AM
OnKeyDown Event Expression =?Utf-8?B?ZGNobWFu?= Microsoft Access Form Coding 1 21st Feb 2006 06:50 PM
Canceling the OnKeyDown event John S. Ford, MD Microsoft Access Forms 8 30th Nov 2004 05:39 AM
Canceling the OnKeyDown event John S. Ford, MD Microsoft Access 8 30th Nov 2004 05:39 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:01 PM.