BeforeGroupRemove Event

BeforeGroupRemove Event

See Also         Example         Applies To        

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

Syntax

Sub object_BeforeGroupRemove(Group as OutlookBarGroup, Cancel as Boolean)

object   An expression that evaluates to an OutlookBarGroups collection object.

Group   Required. The OutlookBarGroup that is being removed.

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