Recent

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

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2020
  • Former Delphi 1-7, 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 »

 

TinyPortal © 2005-2018