Page 1 of 1

Implementing handler does not automatically add units

Posted: Thu Sep 19, 2019 1:51 pm
by JanDoggen
I just double clicked a TChromium.OnAfterCreated event handler in de object inspector.

This added the
procedure ChromiumAfterCreated(Sender: TObject; const browser: ICefBrowser);
to the TForm, but with an unknown ICefBrowser type. uCEFInterfaces needs to be added to the interface unit list.

Not a big deal, but IIRC 3rd party components usually do that automatically whenever you start using new types.
If you can implement that it would make a smoother experience...

TIA
Jan
Yes, new user, so I notice things ;-)