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
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
OpenDialog and mouse even...
by
hedgehog
[
Today
at 08:06:03 am]
Lazarus 4, What's wrong w...
by
incendio
[
Today
at 07:59:48 am]
How to toggle back to the...
by
ASerge
[
Today
at 07:42:13 am]
Strict Aliasing Rule
by
Thaddy
[
Today
at 07:02:16 am]
IBX 2.7.2.1650 Bug?
by
incendio
[
Today
at 06:33:52 am]
Where to download IBX pre...
by
incendio
[
Today
at 06:17:46 am]
IBX, unable to install pr...
by
incendio
[
Today
at 04:34:20 am]
Component to manage short...
by
EganSolo
[
Today
at 12:36:36 am]
Replace controls dynamica...
by
Aruna
[June 18, 2025, 11:58:42 pm]
[SOLVED] Which RTL Unit d...
by
tfurnivall
[June 18, 2025, 10:25:01 pm]
CEF component - the first...
by
wp
[June 18, 2025, 08:21:11 pm]
slim installation by remo...
by
wp
[June 18, 2025, 08:19:09 pm]
Crash on changing a strin...
by
Martin_fr
[June 18, 2025, 08:11:34 pm]
How to stop macro executi...
by
Martin_fr
[June 18, 2025, 08:06:44 pm]
Layout problem by nested ...
by
etrusco
[June 18, 2025, 07:55:44 pm]
Build failure
by
user5
[June 18, 2025, 07:42:34 pm]
Loading an image from an ...
by
Fred vS
[June 18, 2025, 06:29:01 pm]
IDE Lazarus 4.0 on Window...
by
Martin_fr
[June 18, 2025, 03:47:30 pm]
Lazarus 4.0 RC3
by
paxnet_be
[June 18, 2025, 02:34:23 pm]
Firebird 5 remote login v...
by
LacaK
[June 18, 2025, 02:07:34 pm]
Compile errors in MacBook...
by
Thaddy
[June 18, 2025, 11:46:06 am]
LAMW - UTF-8 character in...
by
Alcatiz
[June 18, 2025, 11:36:29 am]
How to run an external pr...
by
vsajip
[June 18, 2025, 08:50:34 am]
lazbuild command line swi...
by
n7800
[June 18, 2025, 04:21:35 am]
dBGRidController and Erro...
by
essence-ciel
[June 18, 2025, 01:15:11 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Getting cursor position relative to a form (Read 5763 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: 5573
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