[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Controls' (#lcl)

# TControl.OnMouseUp

Event handler signalled when a mouse up event is handled for the control.

## Declaration

Source position: controls.pp line 1591

`protected property TControl.OnMouseUp : TMouseEvent read FOnMouseUp write FOnMouseUp;`

## Description

OnMouseUp is signalled (when assigned) from the MouseUp method. It is signalled when standard mouse events are enabled using the ControlStyle property. The event is signalled after the mouse position has been updated and the event is applied to an active DragManager.

An application must implement and assign a TMouseEvent handler routine to the property which responds to the event notification.

Use OnMouseDown to perform actions needed when a mouse down event is handled for the control.

Use OnMouseMove to perform actions needed when the mouse pointer position has changed for the control.

Use OnMouseWheel, OnMouseWheelDown, and OnMouseWheelUp to preforms actions needed when mouse scroll wheel messages are handled for the control.

## See also

TControl.MouseUp |  | Signals the OnMouseUp handler.
TControl.OnMouseDown |  | Event handler signalled when a mouse down event is handled for the control.
TControl.OnMouseMove |  | Event handler signalled when the mouse pointer is moved in the control.
TControl.OnMouseWheel |  | Event handler for mouse wheel turned.
TControl.OnMouseWheelDown |  | Event handler signalled for a downward movement of the mouse wheel.
TControl.OnMouseWheelUp |  | Event handler signalled for an upward movement of the mouse wheel.
TControl.OnClick |  | Notification handler for mouse clicks.
TMouseEvent |  | Specifies an event handler used to respond to mouse button events.