Error when double-clicking TButton in FMX form application at design-time


In Delphi XE8 (Update 1), choose File > New > Multi-Device Application – Delphi > Blank Application.

Then put a TButton on the form.

Then double-click the button. This will automatically create the empty Click event-handler declaration and implementation (like with VCL form application projects):

procedure TForm1.Button1Click(Sender: TObject);


However, it will also display an error message:

So why is this error message displayed? Is this a bug in the IDE? What can I do to prevent this error?

Comments are closed.