Solved

TPoint

Posted on 2001-07-18
2
459 Views
Last Modified: 2010-04-06
How to extract X and Y from Tpoint value
0
Comment
Question by:urosv
  • 2
2 Comments
 
LVL 3

Accepted Solution

by:
nnbbb09 earned 20 total points
Comment Utility

You should just be able to reference the x and y fields of the TPoint record; so if your TPoint reference is called MyPoint you can reference MyPoint.X and MyPoint.Y
0
 
LVL 3

Expert Comment

by:nnbbb09
Comment Utility
For example; the global mouse variable has a property called CursorPos which is of type TPoint, so to find out the x and y of the mouse you can use Mouse.CursorPos.X and Mouse.CursorPos.Y
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now