Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:1.00

Description

Description:Defines an event handler for a display. Overrides any previously assigned handlers, whether they are defined in the dialog itself or using this command. To add multiple event handlers, use displayAddEventHandler. See VBS User Interface Event Handlers for the full list of handler names, and further details on the event properties.

Syntax

Syntax:display displaySetEventHandler [event, command]
Parameters:
Return Value:Nothing

Examples

Examples:
_display displaySetEventHandler ["KeyDown", "hint str _this"]

Additional Information

See also: displayAddEventHandler, displayRemoveAllEventHandlers, ctrlSetEventHandler, VBS User Interface Event Handlers
Multiplayer: 
Problems: 

Notes