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....



CrossHairSetPos


Unit: SDL_rchart
Class: TContourPlot
Declaration: procedure CrossHairSetPos (x,y: double);

The method CrossHairSetPos sets the crosshair to the position [x ,y]. The crosshair will be visible in the contour plot if the crosshair is switched on and is located within the visible range of the chart. The kind of crosshair can be controlled by the property CrossHair.

Hint: A crosshair may be used as a mouse cursor by simply calling CrossHairSetPos in the OnMouseMoveInChart event.


Last Update: 2016-Aug-29