Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
LCL
»
[Solved]TSize not in the LCLType
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
Single / Double / Float s...
by
tetrastes
[
Today
at 11:01:15 am]
FPC 3.2.4-rc1 available
by
marcov
[
Today
at 10:47:38 am]
[SOLVED] Lazreport. Multi...
by
Petrus Vorster
[
Today
at 09:27:32 am]
exception external SIGSEG...
by
dseligo
[
Today
at 07:57:12 am]
Has anyone installed TeeB...
by
egsuh
[
Today
at 06:34:29 am]
Commerce website written ...
by
Handoko
[
Today
at 05:24:32 am]
Hashing pointers by using...
by
440bx
[
Today
at 01:15:38 am]
Introducing PasBuild 1.0....
by
dbannon
[December 11, 2025, 11:54:37 pm]
[SOLVED] Program compiles...
by
Schmitty2005
[December 11, 2025, 07:35:39 pm]
TIBDataSet "Closing"? on ...
by
RedOctober
[December 11, 2025, 05:00:04 pm]
So many "newbies"
by
gidesa
[December 11, 2025, 04:18:38 pm]
How can I make a safe app...
by
LeP
[December 11, 2025, 03:30:34 pm]
[SOLVED] Need help conver...
by
srvaldez
[December 11, 2025, 01:52:33 pm]
SpkToolbar custom update
by
wp
[December 11, 2025, 01:48:16 pm]
OS/2 Warp 4 problem with ...
by
Thaddy
[December 11, 2025, 01:35:10 pm]
Is FPGUI still active?
by
BSaidus
[December 11, 2025, 01:25:31 pm]
Bitmap into Paintbox
by
BubikolRamios
[December 11, 2025, 12:58:20 pm]
Notetask 1.1.0 - Free cro...
by
AlexanderT
[December 11, 2025, 12:11:14 pm]
Matching video to form
by
Pe3s
[December 11, 2025, 10:56:47 am]
Is Lazarus' Tool Palette ...
by
Ed78z
[December 11, 2025, 10:37:03 am]
[SOLVED] RXSwitch
by
Petrus Vorster
[December 11, 2025, 10:35:00 am]
fpsockets error: 10047
by
rvk
[December 11, 2025, 09:50:08 am]
Military Grade Directives
by
Thaddy
[December 11, 2025, 08:56:12 am]
Permutation of rows and c...
by
Zvoni
[December 11, 2025, 08:33:20 am]
Jacks or Better card game...
by
TBMan
[December 11, 2025, 03:12:03 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [Solved]TSize not in the LCLType (Read 1192 times)
jamie
Hero Member
Posts: 7405
[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: 3197
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: 4144
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: 7405
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