OlkTextBoxEvents_Event.BeforeUpdate Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when the data in the control is changed through the user interface and is about to be saved to the item.
public:
event Microsoft::Office::Interop::Outlook::OlkTextBoxEvents_BeforeUpdateEventHandler ^ BeforeUpdate;
event Microsoft.Office.Interop.Outlook.OlkTextBoxEvents_BeforeUpdateEventHandler BeforeUpdate;
Event BeforeUpdate As OlkTextBoxEvents_BeforeUpdateEventHandler
Event Type
Remarks
Canceling this property will revert the control to the current value of the property and return the focus to the control.
BeforeUpdate and AfterUpdate can occur any time the data in the control is being saved to the item. The typical sequence of events involving BeforeUpdate for this control is as follows:
- User focuses on the control
- BeforeUpdate
- Control data is updated
- AfterUpdate
- Exit: User moves focus away from control