BeforeShortcutRemove Event

BeforeShortcutRemove Event

See Also         Example         Applies To        

Occurs before a new shortcut is removed from a group in the Outlook Bar, either as a result of user action or through program code. This event is not available in VBScript.

Syntax

Sub object_BeforeShortcutRemove(Shortcut as OutlookBarShortcut, Cancel as Boolean)

object   An expression that evaluates to an OutlookBarShortcuts collection object.

Shortcut   Required. The OutlookBarShortcut that is being removed.

Cancel   Optional. False when the event occurs. If the event procedure sets this argument to True, the shortcut is not removed from the group.