Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Installation
»
General
»
Getting cursor position relative to a form
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
WIKI Timeout issues
Please read here if you have trouble connecting to the wiki
Recent
How can I uninstall the p...
by
Thaddy
[
Today
at 06:00:21 am]
Why does $fpctarget not w...
by
Gustavo 'Gus' Carreno
[
Today
at 05:35:14 am]
The issue of the scroll b...
by
jianwt
[
Today
at 03:35:22 am]
Does anyone have experien...
by
xiyi0616
[
Today
at 02:31:06 am]
Youtube Downloader in Pas...
by
yus
[
Today
at 01:40:58 am]
Debugger regression in La...
by
TheMouseAUS
[
Today
at 01:26:53 am]
Lazarus & FPC documentati...
by
wp
[
Today
at 01:26:50 am]
Not happy with TTimeEdit
by
gues1
[July 16, 2025, 10:58:04 pm]
THUMBBUTTON does not work...
by
ASerge
[July 16, 2025, 09:22:18 pm]
Lazarus Release 4.0
by
ManoelJr
[July 16, 2025, 08:35:45 pm]
fpc in [home] folder not ...
by
DonAlfredo
[July 16, 2025, 08:32:39 pm]
Debugger use on OBJECT ty...
by
Martin_fr
[July 16, 2025, 08:16:43 pm]
RuntimeError 103 File not...
by
gues1
[July 16, 2025, 07:51:44 pm]
Asking for an example of ...
by
Thaddy
[July 16, 2025, 07:33:15 pm]
Suddenly a build error? [...
by
TBMan
[July 16, 2025, 07:04:45 pm]
Is Lazarus still serious ...
by
Thaddy
[July 16, 2025, 05:10:53 pm]
TMemoryStream Question wi...
by
Thaddy
[July 16, 2025, 03:57:33 pm]
Problems with libraries f...
by
DonAlfredo
[July 16, 2025, 03:03:27 pm]
Possible Bug or Known Beh...
by
Aruna
[July 16, 2025, 02:48:41 pm]
It does not show my progr...
by
RayoGlauco
[July 16, 2025, 02:48:05 pm]
activex.pp DosDateTimeToV...
by
440bx
[July 16, 2025, 02:09:39 pm]
"Mario & Luigi" (1994-200...
by
Nimbus
[July 16, 2025, 12:14:31 pm]
UTF8 Keyboard entry
by
Thaddy
[July 16, 2025, 06:17:25 am]
Will there be a freezing ...
by
xiyi0616
[July 16, 2025, 04:25:25 am]
GitHub action setup-lazar...
by
Gustavo 'Gus' Carreno
[July 16, 2025, 01:03:07 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Getting cursor position relative to a form (Read 5768 times)
Leledumbo
Hero Member
Posts: 8819
Programming + Glam Metal + Tae Kwon Do = Me
Getting cursor position relative to a form
«
on:
November 13, 2007, 10:42:47 am »
How can I do it? GetCursorPos does it but relative to the screen.
Logged
Follow this if you want me to answer:
http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F
http://pascalgeek.blogspot.com
https://bitbucket.org/leledumbo
https://github.com/leledumbo
Code first, think later - Natural programmer B)
Bart
Hero Member
Posts: 5575
RE: Getting cursor position relative to a form
«
Reply #1 on:
November 13, 2007, 11:48:12 am »
I seem to remeber something like ClientToScreen and ScreenToClient (at least in Delphi)?
Bart
Logged
Leledumbo
Hero Member
Posts: 8819
Programming + Glam Metal + Tae Kwon Do = Me
RE: Getting cursor position relative to a form
«
Reply #2 on:
November 13, 2007, 01:35:02 pm »
Yup! Thanx, those function exist in Controls unit.
Logged
Follow this if you want me to answer:
http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F
http://pascalgeek.blogspot.com
https://bitbucket.org/leledumbo
https://github.com/leledumbo
Code first, think later - Natural programmer B)
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Installation
»
General
»
Getting cursor position relative to a form
TinyPortal
© 2005-2018