Scalabium Software

SMReport Autogenerated
Knowledge for your independence'.
Home Delphi and C++Builder tips


#77: How can I get a mouse position?

Sometimes in development you must to detect the current position of mouse. You can use the GetCursorPos function.

In the next example I shows how to popup the some TPopupMenu component in point, where user click a mouse button:

var
  P: TPoint;
begin
  GetCursorPos(P);
  yourPopupMenu.Popup(P.X, P.Y);
end;


Published: May 17, 2000

See also
 
Fast Document Viewer
Metafile Convert
Clarion Viewer
ExcelFile Viewer
DBISAM Password Recovery
MAPIMail
Database Information Manager
SMDBGrid
ABA Picture Convert
Paradox to MS Access converter
 
 


Contact to webmaster

 

Borland Software Code Gear Scalabium Delphi tips

Copyright© 1998-2017, Scalabium Software. All rights reserved.
webmaster@scalabium.com

SMExport advertising