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


Class: TChemGraph
Declaration: TMoveOverStructEvent = procedure (Sender: TObject; ClosestAtom: integer; Dist: double; Shift: TShiftState; rMousePosX, rMousePosY: double) of object;

The type declaration TMoveOverStructEvent defines the event which occurs when the mouse moves across the chemical structure. The parameter ClosestAtom contains the index of the atom which is closest to the current mouse position, the parameter Dist the distance to this atom. The parameter Shift returns the state of the mouse buttons, and the parameters rMousePosX and rMousePosY return the mouse position in terms of structure coordinates.

Last Update: 2012-Oct-20