Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
General
»
Control center
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
(How) can I make a 64-bit...
by
Hartmut
[
Today
at 05:17:08 pm]
Modern For Loop question
by
Peter H
[
Today
at 05:15:35 pm]
Unit containing its own f...
by
torbente
[
Today
at 05:14:23 pm]
open source big projects
by
Jurassic Pork
[
Today
at 05:10:39 pm]
H2PasWizard wizard fail o...
by
BlueIcaro
[
Today
at 05:07:15 pm]
Setting a Timer and Serve...
by
Weitentaaal
[
Today
at 04:37:42 pm]
Problems on Windows 10
by
Peter H
[
Today
at 04:35:32 pm]
[LAMW] Using App Bundles ...
by
rsu333
[
Today
at 04:34:07 pm]
Compiler Generated Tempor...
by
Coxy
[
Today
at 04:04:42 pm]
Cant Find Certain Dll
by
Weitentaaal
[
Today
at 03:51:58 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Control center (Read 292 times)
pcurtis
Sr. Member
Posts: 384
Control center
«
on:
July 05, 2020, 05:52:28 pm »
How do I find the center of a control on a panel on a form relative to the screen?
Thanks in advance.
Logged
Windows 10 / Linux Mint 20
Laz 2.10.0
FPC 3.2.0
dsiders
Sr. Member
Posts: 413
Re: Control center
«
Reply #1 on:
July 05, 2020, 06:12:19 pm »
Quote from: pcurtis on July 05, 2020, 05:52:28 pm
How do I find the center of a control on a panel on a form relative to the screen?
Thanks in advance.
https://forum.lazarus.freepascal.org/index.php/topic,48753.msg351417.html#msg351417
https://forum.lazarus.freepascal.org/index.php/topic,25716.msg156438.html#msg156438
https://lazarus-ccr.sourceforge.io/docs/lcl/controls/tcontrol.clienttoscreen.html
https://lazarus-ccr.sourceforge.io/docs/lcl/controls/tcontrol.screentoclient.html
Logged
Lazarus 2.1 (SVN) / FPC 3.0.4 / FPC 3.2.0 / x86-win64 / Windows 8.1
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
General
»
Control center
TinyPortal
© 2005-2018