e-mid,
To put it in layman terms,
event is the place where you get control in your code, based on user's
action.
The common user actions are,
1. moving or clicking mouse
2. playing with keyboard
If you want to do something as soon as the user completed the above
operation, event is the best place to put ur code becoz you can get control
immediately and will know some basic parameters. For example, during
keyboard events, you will get some useful information like, which "key" has
been pressed.
Shak.
"e-mid" <yy@ss.com> wrote in message
news:#g**************@TK2MSFTNGP10.phx.gbl...
i used mouseEvents or clickEvents etc.. but i did not still understand
what an event is yet.
eg: when we press a button, the eventhandler registered with the the
button's click *event* is invoked. what is "button's click event"
here? or can we write this event from scratch?
eg: we have an integer , say i. incrementing the i , i++ . could this be
an event too?
i mean, can we invoke a function (or a eventhandler), when i is
incremented?