The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



OnBeforeCrossHairMove


Unit: SDL_rchart
Class: TContourPlot
Declaration: OnBeforeCrossHairMove: TBeforeCrossHMoveEvent;
{TBeforeCrossHMoveEvent = procedure (Sender: TObject; WhichCrossHair: TCrossHair; dx, dy: integer; var AllowMove: boolean) of object;}

The event OnBeforeCrossHairMove occurs after the user clicked the mouse and before the crosshair is actually moved (MouseAction has to be set to maDragCrossH). See TBeforeCrossHMoveEvent for a detailed description of the event.

Hint: This event occurs only once after clicking the mouse button (which triggers the initial move of the crosshair to the current mouse position). All further movements of the crosshair while the mouse button is pressed can be monitored by the OnCrossHairMove event.



Last Update: 2023-Dec-13