TiObjectCanvas.OnMouseUpDisplay

TiObjectCanvas See Also

Occurs when the mouse is clicked up 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 OnMouseUpDisplay : TiMouseUPDownDisplayEvent;

Description

Use OnMouseUpDisplay to specify actions to perform when the user clicks the mouse up on the component. This event differs from the standard OnMouseUp 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