Default_Key - cUIObject

Used in On_key command to restore standard accelerator for an object

Type: Procedure

Parameters: None

Syntax
Procedure Default_Key 

Call: Send Default_Key


Description

The Default_Key message is only used as part of the On_Key command. Instead of assigning a key to a specific message, it is used to reset an object's accelerator key to its default behavior. The default behavior is the behavior assigned to the object's base runtime class. This overrides any previous custom On_key behavior assigned within a sub-class, object or by one of its parent objects. This is used most often to stop a child object from using the On_Key behavior of its parent object.

On_Key Key_F4 Send Default_Key

Note:
Default_Key is not an actual method and it can only be used inside of the On_Key command. You cannot send this message.