WinStudio
Understanding Custom Events
You can create custom events in three ways:
- You can specify an event name for one or more of a component's
events properties (on the Component property sheet toolbar,
click the Events button). Most components support a primary
event, a data change event, a gain focus event, and a lose focus
event. For instance, you might want to generate a custom event
when the user clicks a push button. To implement this, you specify
the custom event name as the push button's primary event.
- You can create an event handler that has a response type of
Generate Event and that specifies a new event name.
- You can create a script that generates an event.
Related Topics
About Generating Events from Components
Create, Copy,
Edit or Delete Event Handlers
Event Handler
Response Types (WinStudio)
Maximum Length
of Parameters and Values
Understanding Event Handlers
Understanding Standard Events
Understanding
the WinStudio Event Model