salvadordf / CEF4Delphi

CEF4Delphi is an open source project to embed Chromium-based browsers in applications made with Delphi or Lazarus/FPC for Windows, Linux and MacOS.
https://www.briskbard.com/forum/
Other
1.22k stars 373 forks source link

BufferPanel events has no effect #254

Closed SoftacomDevelopment closed 4 years ago

SoftacomDevelopment commented 4 years ago

Win10x64, RAD Studio 10.3.2, CEF4Delphi 78.3.4 Demo app: Simple FMX Browser FMXBufferPanelAdded to the form with browser (alighn: client, or placed with fixed height in bottom), canfocus := true; created eventhandlers like OnClick, OnMouseWheel. Events dint fired up after mouse click over the panel or mouse wheel

salvadordf commented 4 years ago

Hi,

The SimpleFMXBrowser uses a TFMXChromium in normal mode while the TFMXBufferPanel component is only used by TFMXChromium components in OSR mode as you can see in the FMXExternalPumpBrowser demo.

Please, upgrade to the latest CEF4Delphi version which uses CEF 78.3.9 because if fixes several crashes.

In general, the FMX demos are much more complicated. I would recommend to use the SimpleBrowser2 and SimpleOSRBrowser VCL demos for the first tests with CEF4Delphi.

Please, use our forum for more questions : https://www.briskbard.com/forum/

SoftacomDevelopment commented 4 years ago

Thanks a lot