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



OnCrossHairMove


Unit: SDL_rchart
Class: TSmithChart
Declaration: OnCrossHairMove: TCrossHairMoveEvent;
{TCrossHairMoveEvent = procedure (Sender: TObject; WhichCrossHair: TCrossHair) of object;}

The event OnCrossHairMove occurs when the user moves the crosshair by mouse interaction (i.e. when the MouseAction is set to maDragCrossH). The parameter WhichCrossHair points to the crosshair which has been moved.

Hint: Please note that, while TRChart supports four independent crosshairs, TSmithChart provides only one reticle. Thus the parameter WhichCrossHair always points to the same element (the first one) of the array of crosshairs.


Example: This event is used in the following example program (see http://www.lohninger.com/examples.html for downloading the code): schart



Last Update: 2016-Jun-27