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
Sort more String Grid col...
by
arneolav
[
Today
at 05:42:29 pm]
Missing components etc.
by
JuhaManninen
[
Today
at 05:17:15 pm]
Get Previous record ?
by
winni
[
Today
at 05:15:46 pm]
Units/Forms added to proj...
by
GetMem
[
Today
at 05:12:57 pm]
How to prevent text to be...
by
winni
[
Today
at 05:11:34 pm]
StretchDraw differences b...
by
lainz
[
Today
at 05:03:04 pm]
[SOLVED] ATTabs resp. Ext...
by
d7_2_laz
[
Today
at 04:46:28 pm]
STM32 interrupts
by
petex
[
Today
at 04:45:52 pm]
[SOLVED] ATTabs howto; wh...
by
d7_2_laz
[
Today
at 04:12:10 pm]
[SOLVED] ATTabs howto, O...
by
d7_2_laz
[
Today
at 04:04:35 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Control center (Read 318 times)
pcurtis
Sr. Member
Posts: 430
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: 426
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.0.12 / 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