Author Topic: macOS: control classes not added automatically  (Read 1058 times)


  • Hero Member
  • *****
  • Posts: 823
  • Former Delphi 1-7 and 10.2 User
macOS: control classes not added automatically
« on: January 11, 2020, 02:49:24 am »
From time to time my macOS applications enter the twilight zone wherein adding, for example, a memo to a form compiles but the application dies when run with "Class TMemo not found" and sure enough, when I check, I find that "Memo1: TMemo; " is missing from the source code.

Unfortunately I have not previously been able to track down how/when this behaviour is triggered which means I have not been able to provide a minimal demo project with the issue... until now because this project is small enough to upload and was only used to test various macOS features :)

See attached. Compile and run -> "Class TMemo not found".  Delete the memo and add it again. Same result.

You will obviously need macOS.
« Last Edit: January 11, 2020, 02:58:59 am by trev »
o Lazarus v2.1.0 r63598, FPC v3.3.1 r45778, macOS 10.14.6 (with sup update), Xcode 11.3.1
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.1 amd64 (Parallels VM)
o FPC 3.0.4, FreeBSD 12-STABLE r361007 amd64
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 18.04 (Parallels VM)


TinyPortal © 2005-2018