Sign in Join
FPDoc Onlineexperiment

TNoteBookStringsTabControl.AdjustXY procedure

Member of TNoteBookStringsTabControlprotectedIn unit ComCtrls

Adjusts the specified coordinates to the ClientOrigin for the parent.

Declaration

pascal
procedure AdjustXY(var X: Integer; var Y: Integer)

Arguments

X

Horizontal coordinate adjusted in the method.

Y

Vertical coordinate adjusted in the method.

Description

The adjustment amount is the difference between the ClientOrigin for the control and the ClientOrigin for the Parent of the control. The offset amounts are then applied to the values X and Y.

Called from the DragDrop, DragOver, MouseMove, MouseDown, and MouseUp methods.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.