Show: Delphi C++
Display Preferences

FMX.ListView.TListViewBase.MouseUp

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure MouseUp(Button: TMouseButton; Shift: TShiftState; X, Y: Single); override;

C++

virtual void __fastcall MouseUp(System::Uitypes::TMouseButton Button, System::Classes::TShiftState Shift, float X, float Y);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
FMX.ListView.pas
FMX.ListView.hpp
FMX.ListView TListViewBase

Description

OnMouseUp event dispatcher.

FMX.ListView.TListViewBase.MouseUp inherits from FMX.Controls.TControl.MouseUp. All content below this line refers to FMX.Controls.TControl.MouseUp.

OnMouseUp event dispatcher.

A control calls MouseUp in response to any of mouse-up messages, decoding the message parameters into the shift-key state and position, which it passes in the Shift, X and Y parameters, respectively:

  • Button determines which mouse button was previously pressed: left, right, or middle.
  • Shift indicates which shift keys--SHIFT, CTRL, ALT, and CMD (only for Mac)--were down when the pressed mouse button is released.
  • X and Y are the pixel coordinates of the mouse pointer within the client area of the control.

Override the protected MouseUp method to provide other responses when the mouse button previously pressed is released while the cursor is over the control.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance