문제

I want to close my delphi program from TChromium component.But i can't do this.I tried to put TPanel above TChromium,but it is wrong,program have an error "Invalid CEF library version".Also i tried to use TImage,but TImage don't stay above TPanel.Somebody can help me?

도움이 되었습니까?

해결책

use the OnAddressChange in TChromium.

Add a hyper Link same <a href="exiting.exit">exit</a> in your html document after then write OnAddressChange:

if (url = 'exiting.exit') then
self.close;

this a simple fast way.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top