Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For example, you may wish to display some help text in a status line on your form as the user moves between controls.  To To do this you would typically add some Basic+ code on the GOTFOCUS event for each control on your form.

In a window, which may have over 100 controls, this requires a call for each control.  An An alternate way to accomplish the same functionality would be to create a promoted event. You can think of a Promoted Event as a “Global Event”, an event that will trigger for all controls on a single form, for all controls of a particular type (such as an Edit Table), or for all forms in your application.   By By using a promoted event, you do not need to add code to each control individually, which makes development much faster.  ItIt's even possible to create one event handler for all events in an application.

...