Edit

Share via


OlkTextBoxEvents_Event.BeforeUpdate Event

Definition

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:

  1. User focuses on the control
  2. BeforeUpdate
  3. Control data is updated
  4. AfterUpdate
  5. Exit: User moves focus away from control

Applies to