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 _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel