• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 260
  • Last Modified:

Action event

What is an action event? Is it as simple as its name or can it get more complex.
1 Solution
an event is 'raised' when something happens (when a button is 'clicked' - the button's Click event is raised, when the text in a TextBox changes, the Change event of the TextBox is raised, and so on).  Most events are raised as the result of some Action - the user did SOMETHING, as a result, an event was raised - these are refered to as ACTION Events.

There are some events that are raised, not directly by an action taken by the user, but as a result of something else happening in the execution of the code (for instance, if an error condition is encoutered, an Error event might be raised, or if a vaildation codition is not satified, and Validation event might be raised).  Basically, events are how one object commnucates with other objects in the system.  

Objects can raise events, and other objects can 'subscribe' to be informed when specific events occur in the execution of the program.

Does this help your understanding?

Eduard GherguLeader SibiuCommented:
An action event is "raised" when the user (human or not) executes an action for that the code "is prepared" to respond (special functions designated for this purpose).
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now