[fpc-devel] System.UITypes and Lazarus
Bart
bartjunk64 at gmail.com
Sun Feb 9 14:39:15 CET 2025
Hi,
The Delphi compatible unit System.UITypes is getting out of sync with Lazarus.
The reason for this is twofold:
1. the faster release cycle of Lazarus
2. the fact that Lazarus supports more widgetsets, for which we also
need enumerations, and Delphi does not have these.
This can lead to errors as described in
https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/41300
While this can be worked around, my question (no offense intended) it
raises some questions in my head.
First:
Why the need for such a unit?
IOW: what is the use-case for needing the enumerations out to the unit
where they ar actually used (and were defined to begin with)?
Second:
Given the fact that enumerations like TOpenOption etc. are related to
GUI applications, why does this unit "reside" in fpc and not in
Lazarus?
--
Bart
More information about the fpc-devel
mailing list