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



OnRubberBand


Unit:SDL_rchart
Class:TRChart
Declaration: OnRubberBand: TRubberBandEvent;
{TRubberBandEvent = procedure (Sender: TObject; Layer: integer; LoX, LoY, HiX, HiY: double) of object;}

The event OnRubberBand is triggered when the property MouseAction is set to maRubberBand and the left mouse button is released. The parameters LoX, LoY, HiX, and HiY specify the coordinates of the lower left and upper right corner of the rubber band rectangle. The parameter Layer specifies the layer to which the coordinates belong.

Hint: The OnRubberBand event is triggered separately for each active layer. Thus releasing the mouse button when MouseAction is set to maRubberBand may generate several OnRubberBand events, depending on the array property MouseAffectsLayer.



Last Update: 2009-Feb-15