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

TCustomTreeView.DoMouseWheelHorz

Performs actions to handle a horizontal mouse wheel message.

Declaration

Source position: comctrls.pp line 3551

protected function TCustomTreeView.DoMouseWheelHorz(

  Shift: TShiftState;

  WheelDelta: Integer;

  MousePos: TPoint

):Boolean; override;

Description

DoMouseWheelHorz is an overridden method used to perform actions needed to handle a horizontal mouse wheel message. It calls the inherited method to signal the OnMouseWheelHorz event handler (when assigned), or other chtOnMouseWheelHorz handlers registered in the application. If the message is not handled in the ancestor, the value in ScrolledLeft is updated to apply the delta value in WheelDelta. The position for a tool tip (or hint) is also updated using the coordinates in Mouse.

See also

TControl.DoMouseWheelHorz

  

Performs actions needed to handle horizontal mouse wheel events.