Share via


OlkTimeZoneControl Members (Outlook)

A control that supports a selection from a drop-down list of time zones.

Methods

Name

Description

DropDown

Expands the drop-down portion of the time zone control.

Properties

Name

Description

AppointmentTimeField

Returns or sets an OlAppointmentTimeField constant that specifies the time field on the appointment that the control binds against. Read/write.

BorderStyle

Returns or sets an OlBorderStyle constant that defines the style of the border around the control. Read/write.

Enabled

Returns or sets a Boolean that indicates if the control is allowed to function. Read/write.

Locked

Returns or sets a Boolean that specifies whether or not the control is locked from being changed. Read/write.

MouseIcon

Returns or sets a custom picture to the mouse cursor for this control. Read/write.

MousePointer

Returns or sets an OlMousePointer constant that specifies the type of pointer displayed when the user positions the mouse over the control. Read/write.

SelectedTimeZoneIndex

Returns or sets an index into the Application.TimeZones collection that determines the selected time zone. Read/write.

Value

Returns or sets a Variant that represents the content of the control. Read/write.

Events

Name

Description

AfterUpdate

Occurs after the data in the control has been changed through the user interface.

BeforeUpdate

Occurs when the data in the control is changed through the user interface and is about to be saved to the item.

Change

Occurs when the Value property changes.

Click

Occurs when the user clicks inside the control.

DoubleClick

Occurs when the user double-clicks inside the control.

DropButtonClick

Occurs when the user clicks the drop button to expand the drop-down list in the time zone control, or when the DropDown method is called programmatically.

Enter

Occurs when the control receives focus, immediately after the previous control's Exit event.

Exit

Occurs just after the focus passes from this control to another control on the same form.

KeyDown

Occurs when a user presses a key.

KeyPress

Occurs when the user presses an ANSI key.

KeyUp

Occurs when the user releases a key.

MouseDown

Occurs when the user presses a mouse button on the control.

MouseMove

Occurs after a mouse movement has been registered over the control.

MouseUp

Occurs after the user releases a mouse button that has been pressed on the control.