Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
LCL
»
[Solved]TSize not in the LCLType
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
A different Build Mode Op...
by
lucamar
[
Today
at 02:46:26 am]
open source big projects
by
Martin_fr
[
Today
at 02:32:25 am]
TStringGrid with stretche...
by
jamie
[
Today
at 12:38:41 am]
MOVED: accounting softwar...
by
trev
[
Today
at 12:20:02 am]
accounting software fpc/L...
by
nummer8
[January 26, 2021, 11:13:17 pm]
Install Delphi 7 3th part...
by
zzzkkk
[January 26, 2021, 10:58:35 pm]
How to show a Label in a ...
by
Abelisto
[January 26, 2021, 10:48:35 pm]
Real time chart
by
wp
[January 26, 2021, 10:24:30 pm]
H2PasWizard wizard fail o...
by
BlueIcaro
[January 26, 2021, 08:47:51 pm]
FFGrab4Laz = How to recor...
by
metis
[January 26, 2021, 07:43:29 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [Solved]TSize not in the LCLType (Read 465 times)
jamie
Hero Member
Posts: 4054
[Solved]TSize not in the LCLType
«
on:
September 02, 2019, 10:22:11 pm »
In the attempt to make my code as close to cross platform compileable I noticed that I need to use the WINDOWS unit for the TSize type. The LCLTYPE does not seem to have this type in its file, is there a reason for this?
«
Last Edit: September 03, 2019, 12:41:05 am by jamie
»
Logged
The only true wisdom is knowing you know nothing
winni
Hero Member
Posts: 2122
Re: TSize not in the LCLType
«
Reply #1 on:
September 02, 2019, 10:37:47 pm »
Hi!
tsize
points to
typshrd.inc
in
/usr/share/fpcsrc/3.0.4/rtl/inc
Winni
Logged
howardpc
Hero Member
Posts: 3614
Re: TSize not in the LCLType
«
Reply #2 on:
September 02, 2019, 10:38:29 pm »
Yes, the RTL unit Types declares TSize.
Types is much to be preferred over Windows for cross-platform code.
Logged
jamie
Hero Member
Posts: 4054
Re: TSize not in the LCLType
«
Reply #3 on:
September 02, 2019, 10:40:19 pm »
Ok, Thanks I didn't know that.
Logged
The only true wisdom is knowing you know nothing
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
LCL
»
[Solved]TSize not in the LCLType
TinyPortal
© 2005-2018