Delphi Error creating form: Error reading PastMovesGrid.OnClick: Property OnClick does not exist

  

Migrating a project from Delphi XE7 to 10.3 Rio.

Delphi Rio gives this error:

Error creating form:
Error reading PastMovesGrid.OnClick: Property OnClick does not exist.

PastMovesGrid is a TStringGrid.
Sure enough, OnClick is no longer part of TStringGrid in the latest FMX.

I’ve opened the DFM for the form and there is no reference to OnClick for the PastMovesGrid.

When I tell Delphi to Ignore the missing property, the form does open, but when I run the app I get a runtime error about the “Property OnClick does not exist.”

I get the same results with Delphi 10.2.3.

How do I get Delphi 10.3 to forget about this missing property?

Comments are closed.