TLMessage, sending and receiving lazarus / 32-Linux ---------------------------------------------------------------------- McClane · 2019-05-03 03:39 Hi, I tried to do this example: https://github.com/alrieckert/lazarus/blob/master/examples/messages/un it1.pas but it doesn't work on linux.   case TLMessage.WParam of     1: S := '';     2: S := '';   else     S := ''   end; gives me this result Error: type identifier not allowed here (refering to wparam) Thanks in advace. ---------------------------------------------------------------------- Handoko · 2019-05-03 03:58 I've just copied/pasted and tested the source code on Lazarus 2.0.2 GTK2 on Ubuntu 19.04. It works without any compile nor runtime error. ---------------------------------------------------------------------- McClane · 2019-05-03 18:18 It's working. I'm sorry I made a mistake. Thanks for your reply Handoko and have a nice day.