TiObjectCanvas.OnMouseDownDisplay

TiObjectCanvas See Also

Occurs when the mouse is clicked down on the component, returning Cartesian Coordinates of the mouse click location.

type TiMouseUPDownDisplayEvent = procedure(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Double) of object;

property OnMouseDownDisplay : TiMouseUPDownDisplayEvent;

Description

Use OnMouseDownDisplay to specify actions to perform when the user clicks the mouse down on the component. This event differs from the standard OnMouseDown event in that it returns X and Y coordinates in Double format that corresponds to the Cartesian (0,0 origin is in center of component) coordinate system of the Object Canvas.

Note: use MouseDownHandle to obtain which object generated this event.

Contents | Index | Previous | Next