WinStudio

Event Handlers Dialog Box

Use this dialog box to create, copy, edit, delete, enable or disable event handlers for the current form. You can also change the order in which event handlers execute and find strings in event handler specifications.

About the display

The content of the event handlers list depends on how you open the dialog box:

NOTE: In any of these cases, if you are opening this dialog box from an extended form:

The grid in this dialog box displays this information about each event handler:

Column Description/Comments

Event

Indicates the internal name of the event for which the handler is defined

Seq

Indicates the order in which the event handler executes

This zero-based list number is significant only when an event has multiple event handlers. You can change this sequence using the Up and Down arrows at the bottom of the dialog box.

Type

Indicates what type of event handler is defined

Disabled

When selected, indicates that the event handler is not to be executed

Response

Indicates how WinStudio is to respond when the event handler executes

This tyically consists of a set of parameters that define what the handler is to do

Dialog box options

This dialog box includes these action buttons:

Button Description/Comments

Event filter

To specify a single event for which you want to view the defined handlers, use this drop-down list.

To view all event handlers, select [ALL].  

OK

To finish working in the dialog box and save your changes, click this button.

New

To create a new event handler, click this button.

This button launches the Event Handler Properties dialog box, which allows you to define the new event handler.

Copy

To copy an event handler, select the handler to copy and click this button.

This is useful when you want to base a new event handler on an existing handler with changes.

This button launches the Event Handler Properties dialog box, populated with the attribute for the handler you are copying.

Edit

To edit an existing event handler, select the handler and click this button.

This button launches the Event Handler Properties dialog box, populated with the attributes for the specified handler.

Delete

To delete an event handler, select the handler and click this button.

Cancel

To cancel any changes made and close the dialog box, click this button.

Handlers

To filter the list of event handlers for the event generated by a handler of the type, click this button.

This is enabled only when the current handler is of the type Generate Event.

Find

To search the list of event handlers for a particular handler, click this button.

You can search by keyword, method, parameter, or other specifications.

Up and Down arrows

To change the sequence order of event handlers, use these buttons.

These buttons are enabled only if an event has multiple handlers.

Help

To view the help topic for this dialog box, click this button.


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 Custom Events

Understanding Event Handlers

Understanding Standard Events

Understanding the WinStudio Event Model

About Creating New Forms by Extension