TPointClickEvent Type

Applies to

DMPlot

Declaration

TPointClickEvent = function (Sender: TObject; Point, Serie: integer): Boolean of object;

Description

Called from TPlot.MouseDown if MouseMode is one of [pmPointClick, pmPointEdit, pmPointDelete].

Only left mouse button is valid; also keep in mind that this event fired after OnMouseDown.

Return value normally must be true; return false to cancel edit or delete action for the clicked point.