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



MouseTrace


Unit: SDL_rchart
Class: TContourPlot
Declaration: property MouseTrace[idx: longint]: TColoredPoint;

TContourPlot provides a means for displaying and recording the mouse trace when the left button is pressed. In order to activate this feature the MouseAction property has to be set to maDrawMTrace.

The read-only array property MouseTrace returns the mouse trace points recorded since the last call to ClearMouseTrace. The parameter idx is the index of the trace (valid range between 1 and NumMTracePoints).

Hint: The returned point not only contains the mouse coordinates but also the color of the mouse trace. The field Flag of TColoredPoint is used internally and bears no information to the user.



Last Update: 2023-Dec-13