FormRegion.Expanded Event (Outlook)
Occurs when the form region expands or collapses
Version Information
Version Added: Outlook 2007
Syntax
expression .Expanded(Expand)
expression A variable that represents a FormRegion object.
Parameters
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
Expand |
Required |
Boolean |
True if the form region is expanding; False if the form region is collapsing. |
Remarks
This event cannot be cancelled.
Outlook always first loads a form region in an expanded state and sets IsExpanded to True. If the initial state of the form region is to be collapsed, then Outlook immediately closes the form region, fires the Expanded event with the Expand parameter being False, and sets IsExpanded to False.