Graeme Geldenhuys wrote:
Hi,
------------------------- snip --------------------------
Include(WindowAttributes, waStayOnTop); // <== doesn't compile with FPC 2.3.1
WindowAttributes:=WindowAttributes +[waStayOnTop]; // <== this does
------------------------- end --------------------------
As far as I understood, the above two lines should do exactly the same
thing and I have been using Include() since Delphi 5 days and FPC
2.0.2. Now in FPC 2.3.1 it doesn't work any more. I get the following
error.
You cannot pas properties in var parameters. (Imagine WindowAttributes
had a Getter and didn't read directly from FWindowAttributes)
Marc
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel