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



TMouseActMode


Unit: SDL_sdlbase
Class: none
Declaration: TMouseActMode = (maNone, maPan, maPanHoriz, maPanVert, maPanGrid, maRubberBand, maZoom, maZoomWind, maZoomWindPos, maZoomDrag, maDragCrossH, maDragLabel, maRotate, maRotAndZoom, maRotXOnly, maRotZOnly, maSelectRect, maDrawMTrace, maZoomPanColors);

The type definition TMouseActMode lists the possible mouse actions (please note that not all defined mouse actions are valid for each component - for details see TDendrogram, TGeoMap, TPlot3D, TPolChart, TRChart, TContourPlot, TColorScale, and TRot3D):

maNone no special action at all
maPan panning the map window
maPanHoriz panning the map window only in horizontal direction
maPanVert panning the map window only in vertical direction
maPanGrid panning the map window along the grid; the shifting distance matches the grid defined by PanGridDx and PanGridDy
maRubberBand displaying a rubberband from the position of the last mouse click to the current mouse position
maSelectRect displaying a rectangular rubberband frame for selection purposes
maZoom zooming into a rectangular region of the data
maZoomWind zooming into a rectangular region of the data
maZoomWindPos zooming into a rectangular region of the data (with automatic correction of axis direction).
maZoomDrag zooming in and out by dragging the mouse
maDragCrossH drag the visible crosshairs
maDragLabel drag the user defined text labels
maRotAndZoom a combination of maRotate and maZoom.
maRotate rotate the data without restriction
maRotXOnly rotate around X-axis
maRotZOnly rotate around Z-axis
maDrawMTrace record the trace of the mouse
maZoomPanColors zoom and pan color scales; see MouseAction for details

Hint: In the case of type ambiguities concerning maNone please visit the SDL TechNotes.


Last Update: 2016-Jun-26