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



LastClickPosY


Unit:SDL_geomap
Class:TGeoMap
Declaration:property LastClickPosY: integer;

The read-only property LastClickPosY returns the y coordinates (in pixels) of the position where the last mouse click occurred. The pixel value is in the reference frame of the scanned map image. Thus it is independent of the pan position and the magnification. If no click has occurred a zero value is returned.

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



Last Update: 2023-Dec-13