Two Kinds of Events

From RAD Studio
Jump to: navigation, search

Go Up to Triggering the Event


There are two kinds of occurrence for which you might need to provide events:

  • User interactions
    User-interaction events are nearly always triggered by a message from Windows, indicating that the user did something your component might need to respond to.
  • State changes.
    State-change events might also be related to messages from Windows (focus changes or enabling, for example), but they can also occur through changes in properties or other code.

You have total control over the triggering of the events you define. Define the events with care so that developers are able to understand and use them.

See Also