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



MousePosX


Unit:SDL_rchart
Class: TRChart
Declaration: property MousePosX: double;

This is a read-only property and returns the x-value of the current mouse position in terms of real-world chart coordinates of the active layer. If the mouse is not over the chart window, MousePosX is not updated. In this case it returns the last coordinate value which has been obtained before the mouse has left the chart area.

Example: This property is used in the following example program (see http://www.lohninger.com/examples.html for downloading the code): printcht



Last Update: 2012-Oct-20