|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....|
|Home ChartPack RChart Class TRChart Type declarations TBeforeCrossHMoveEvent|
|See also: OnBeforeCrossHairMove (RChart), OnBeforeCrossHairMove (ContourPlot), OnBeforeCrossHairMove (SmithChart)|
The TBeforeCrossHMoveEvent is triggered by an RChart (or Contourplot or SmithChart) whenever the user interactively starts to move any of the crosshairs (therefore the property MouseAction has to be set to maDragCrossH). The parameter WhichCrossHair points to the crosshair which will be moved, the parameters dx and dy contain the differences in pixels between the current crosshair position and the intented new one.
In order to prevent the crosshair from moving set the variable parameter AllowMove to false.