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
Recent
TurboBird for FireBird 5
by
maurog
[
Today
at 04:45:18 am]
TurboBird IBX
by
maurog
[
Today
at 04:41:20 am]
a bug about FPC spurce
by
dsiders
[
Today
at 02:44:18 am]
Convert string with Key-V...
by
dseligo
[
Today
at 02:38:28 am]
[SOLVED] progress dialog ...
by
cdbc
[
Today
at 01:14:35 am]
How to get at files that ...
by
Martin_fr
[
Today
at 12:33:32 am]
Need help converting a C+...
by
jamie
[
Today
at 12:30:59 am]
Lazarus Bugfix Release 4...
by
calebs
[December 07, 2025, 10:37:53 pm]
make cycle fails on macOS...
by
Thausand
[December 07, 2025, 10:05:00 pm]
Matching video to form
by
Thausand
[December 07, 2025, 09:48:04 pm]
[Solved] Need help with c...
by
Thausand
[December 07, 2025, 08:03:53 pm]
TTagEdit Component 1.2
by
JD
[December 07, 2025, 08:02:41 pm]
[SOLVED] Form OnTop not w...
by
Pe3s
[December 07, 2025, 07:32:12 pm]
Save record to BLOB Field
by
Sc0li0sis
[December 07, 2025, 07:31:24 pm]
$ifdef highlighting
by
440bx
[December 07, 2025, 07:09:02 pm]
Clipboard Formats
by
AlexTP
[December 07, 2025, 04:39:19 pm]
[BUG REPORT] Code explore...
by
Martin_fr
[December 07, 2025, 02:54:20 pm]
Qt6 / X11: problem with G...
by
paweld
[December 07, 2025, 02:44:07 pm]
Dumb Problems Contest!
by
Thaddy
[December 07, 2025, 02:41:59 pm]
Please ask about the valu...
by
zzzzzzz7
[December 07, 2025, 02:14:52 pm]
laz_xmlstreaming.pas fail...
by
Ryan J
[December 07, 2025, 01:00:52 pm]
Probleme installing Lazar...
by
DonAlfredo
[December 07, 2025, 09:05:41 am]
Wikipedia pollution
by
Thaddy
[December 07, 2025, 08:31:35 am]
How to register a windows...
by
Thaddy
[December 07, 2025, 08:24:15 am]
append new record to arra...
by
speter
[December 07, 2025, 12:46:02 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Getting cursor position relative to a form (Read 5812 times)
Leledumbo
Hero Member
Posts: 8833
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: 5643
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: 8833
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