Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Installation
»
General
»
Getting cursor position relative to a form
Free Pascal
Website
Downloads
Wiki
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Bugtracker
IRC channel
Latest SVN
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
Recent
Enabling/disabling treevi...
by
wp
[
Today
at 10:34:12 pm]
Reading text file data in...
by
Bart
[
Today
at 10:27:26 pm]
Brook - Beginner trying t...
by
RedOctober
[
Today
at 09:56:53 pm]
Solved: Thread with CLI
by
ojz0r
[
Today
at 08:54:29 pm]
Code in If statement not ...
by
CarmichaelJohn
[
Today
at 08:50:15 pm]
Update individual row in ...
by
paweld
[
Today
at 08:45:39 pm]
TList<string> VS. TString...
by
JuhaManninen
[
Today
at 08:35:11 pm]
Online Package Manager
by
GetMem
[
Today
at 08:31:55 pm]
[Solved] 32 Bit vs 64 Bit...
by
Peter H
[
Today
at 08:06:18 pm]
Unlocking a Sqlite3 db-fi...
by
JanRoza
[
Today
at 07:38:43 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Getting cursor position relative to a form (Read 5010 times)
Leledumbo
Hero Member
Posts: 8286
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: 4103
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: 8286
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