TPoint

How to extract X and Y from Tpoint value
LVL 1
urosvAsked:
Who is Participating?
 
nnbbb09Connect With a Mentor Commented:

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
 
nnbbb09Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.