Control Events

Microsoft Office Outlook 2003

Control Events

Outlook form controls support only one event, the Click event.

A control bound to a field does not fire the Click event. You must handle the appropriate field event to detect a user’s interaction with a control bound to a field.

The following controls fire the Click event whenever a user clicks anywhere in the control.

CheckBox

CommandButton

Frame

Image

Label

OptionButton

ToggleButton

The following controls fire the Click event when the user selects an item in the list.

ComboBox

ListBox

The following controls do not support the Click event.

MultiPage

ScrollBar

SpinButton

TabStrip

TextBox

While the MultiPage control itself does not support the Click event, an individual Page on a MultiPage control will fire the Click event if the user clicks inside the client area of the page, but not if the user clicks the tab associated with the page.

To detect a change in a TextBox control, bind the control to a field and then handle the appropriate field event.