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

TMouse

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Some properties of the Mouse.

Declaration

Source position: controls.pp line 2564

type TMouse = class end;

public

  property Capture: HWND; [rw]

  

Handle of the capturing control.

  property CursorPos: TPoint; [rw]

  

The screen position of the cursor.

  property IsDragging: Boolean; [r]

  

True while dragging an object.

  property WheelScrollLines: Integer; [r]

  

The number of lines to scroll with every notch of the mouse wheel.

  property DragImmediate: Boolean; [rw]

  

Does dragging start immediately (True), or only after a mouse move?

  property DragThreshold: Integer; [rw]

  

The minimum distance the mouse must move before dragging starts (in delayed mode).

Inheritance

TMouse

  

Some properties of the Mouse.

|

TObject

Description

Contains information about current mouse position, whether messages are captured by a window, whether it is dragging an object, and how far the mouse must move before a control starts dragging.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.