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_chemgrph
Class:TChemGraph
Declaration: property OnClick: TNotifyEvent;
property OnDblClick: TNotifyEvent;
property OnMouseMove: TMouseMoveEvent;
property OnMouseDown: TMouseEvent;
property OnMouseUp: TMouseEvent;
property OnMoveOverStruct: TMoveOverStructEvent;

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. For details on these events see the Delphi documentation. The OnMoveOverStruct event returns the mouse position in the coordinate system of the displayed structure and the index of the atom closest to the mouse cursor.



Last Update: 2012-Oct-20