2
如何防止對話框的出現本文檔已更改。保存更改?這發生在網頁瀏覽器有關的轉換時:空白禁用對話框webbrowser delphi
非常感謝。那樣的話
Browser.Navigate ('about: blank');
DesignMode (false ,'');
Browser.OnNavigateComplete2: = NavigateComplite;
procedure NavigateComplite (ASender: TObject; const pDisp: IDispatch; var URL: OleVariant);
begin
DesignMode (true ,'');
end;