Error on LoadURL with TChromium

前端 未结 5 2000
抹茶落季
抹茶落季 2020-12-10 19:13

I found the brilliant Delphi Chromium project for embedding Chrome in a Delphi form. It works well in Delphi7 after a bit of hacking and I can get the demo app running.

5条回答
  •  心在旅途
    2020-12-10 19:47

    Had this problem as well. It seems the MainFrame is first created when the frame/window gets visible. But there is an easy way around it. Just call .Load('about:blank') directly on your TChromium object. This will initialize the missing frame earlier.

提交回复
热议问题