Skip to content

None - cUIObject

Does nothing - used by on_key and commands to stop a key assignment

Type: Procedure

Syntax

Procedure None

Call Example

Send None

Description

This message is always used to make a on_key assignment or an add_item message do nothing.

The following example cancels an on_key assignment making the key do nothing:

On_Key Key_Ctrl + Key_A send None

It is also used within add_item and insert_item messages to add an item to a menu or list that does nothing

Send Add_Item Msg_None ''

Note that using this with an on_Key command causes the key to do nothing. It does not cause it to revert back to its default behavior. To do this, you use the keyword Default_Key

On_Key kPrompt Send Default_Key