?
Solved

TPoint

Posted on 2001-07-18
2
Medium Priority
?
554 Views
Last Modified: 2010-04-06
How to extract X and Y from Tpoint value
0
Comment
Question by:urosv
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 3

Accepted Solution

by:
nnbbb09 earned 80 total points
ID: 6295617

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
ID: 6295623
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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

719 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