Event Question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I know that by using the event key word you cant create and event and then a delegate to hanld that event
my question is how does one tell the computer what defines the event

say for example (completely hypothetical situation ) that i wanted to create an event that was triggered anytime the letter a
was typed anywhere on the form

how do i tell the computer that this is an event and then associate that with the event that i created

WStoreyII
 
* =?Utf-8?B?V1N0b3JleUlJ?= said:
I know that by using the event key word you cant create and event and then a delegate to hanld that event
my question is how does one tell the computer what defines the event

say for example (completely hypothetical situation ) that i wanted to create an event that was triggered anytime the letter a
was typed anywhere on the form

how do i tell the computer that this is an event and then associate that with the event that i created ?

You will need a global keyboard hook to capture these events:

<URL:http://www.developer.com/net/net/article.php/11087_2193301_1/>
 
One think you can do...
capture th Keypress on FOrM or on Control than check the Key press if its
your desire key call the particular function. Simple...YOu capture the event

Sumit

WStoreyII said:
I know that by using the event key word you cant create and event and then a delegate to hanld that event
my question is how does one tell the computer what defines the event

say for example (completely hypothetical situation ) that i wanted to
create an event that was triggered anytime the letter a
was typed anywhere on the form

how do i tell the computer that this is an event and then associate that
with the event that i created ?
 
Thank You

One Last Question
The Letter Scenario was just an exaple however is it the same principal for any event

You just use other events to determine when that event has happened and then you throws the userdefined event

WStoreyII
 
Back
Top