PostItem.CustomPropertyChange Event
Outlook Developer Reference |
Occurs when a custom property of an item (which is an instance of the parent object) is changed.
Syntax
expression.CustomPropertyChange(Name)
expression A variable that represents a PostItem object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
Name | Required | String | The name of the custom property that was changed. |
Remarks
The property name is passed to the procedure so that you can determine which custom property changed.
Example
This Microsoft Visual Basic Scripting Edition (VBScript) example uses the CustomPropertyChange event to enable a control when a Boolean field is set to True.
For this example, create two custom fields on the second page of a form. The first, a Boolean field, is named "RespondBy". The second field is named "DateToRespond".
Visual Basic Scripting Edition |
---|
|
See Also