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

TCustomControlBar.MouseToBandPos

Gets the control band at the specified mouse coordinates.

Declaration

Source position: extctrls.pp line 1592

public function TCustomControlBar.MouseToBandPos(

  X: Integer;

  Y: Integer;

  out AGrabber: Boolean

):TCtrlBand;

Arguments

X

  

Horizontal coordinate for the mouse pointer.

Y

  

Vertical coordinate for the mouse pointer.

AGrabber

  

True if the mouse coordinates are over the grabber for the band.

Function result

TCtrlBand instance at the specified coordinates, or Nil when not on a visible band.

See also

TCustomControlBar.MouseMove

  

Handles a mouse move message while dragging a control band.