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



Events


Unit:SDL_boxplot
Class:TBoxPlot
Declaration: property OnBeforeBoxDraw: TOnBeforeBoxDrawEvent;
property OnBeforeRenderData: TRenderEvent;
property OnCanResize: TCanResizeEvent;
property OnClick: TNotifyEvent;
property OnCrossHairMove: TCrossHairMoveEvent
property OnDataRendered: TRenderEvent;
property OnDblClick: TNotifyEvent;
property OnDragDrop;
property OnDragOver;
property OnEndDrag;
property OnKeyDown: TKeyEvent;
property OnKeyPress: TKeyPressEvent;
property OnKeyUp: TKeyEvent;
property OnMouseDown: TMouseEvent;
property OnMouseMove: TMouseMoveEvent;
property OnMouseMoveInChart: TMouseMoveInChartEvent;
property OnMouseUp: TMouseEvent;
property OnResize: TNotifyEvent;
property OnScalesRendered: TRenderEvent;
property OnStartDrag;
property OnTextLabelMove: TTextLabelMoveEvent;
property OnZoomPan: TZoomPanEvent;

The OnCanResize event is triggered when the control is resized. Please note that the OnCanResize event is only available for Delphi 4 and C++Builder 4, or higher versions of these compilers.

The OnClick and the OnDblClick events occur when the user clicks on the component. The events OnMouseMove, OnMouseDown, and OnMouseUp support the handling of the mouse. The events OnStartDrag, OnDragDrop, OnEndDrag, and OnDragOver control the drap and drop operations. For details on these events see the Delphi documentation. The OnMouseMoveInChart event returns the mouse position in the chart coordinate system. The OnZoomPan event is triggered when an interactive zoom or pan action is carried out. The OnCrossHairMove event is triggered when any crosshair is moved by the user. The event OnTextLabelMove occurs when the user moves any user-defined text label by mouse interaction.

The event OnBeforeRenderData occurs immediately before the boxplot chart is drawn. The OnScalesRendered  event is triggered after the scales have been drawn internally and before the data will be constructed. The OnDataRendered  event is triggered after the chart has been completed internally and before it is copied to the screen. The OnBeforeBoxDraw event can be used to influence the colors of the individual boxes.

Example: Some of these events are used in the following example programs (see http://www.lohninger.com/examples.html for downloading the code): printcht, rchdrag



Last Update: 2023-Dec-13