On default

20% Command group 20% Flag affected 20% Reversible 20% Execute on client 20% Platform(s)
Events NO NO YES All

Syntax

On default

Description

This command is used in an event handling method and handles any events not handled by the preceding On commands. You use the On command to mark the beginning and end of an On statement. You should place any code which is to be executed for all events before the first On command.

Example

On evClick
  # process code for evClick event
  
On default
  # handle all other events