You've already forked CEF4Delphi
mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-06-12 22:07:39 +02:00
Added GlobalCEFApp.DisablePDFExtension property
- Bug fix #89 - New SimpleLazOSRBrowser demo
This commit is contained in:
@ -88,7 +88,7 @@ type
|
||||
var
|
||||
MainForm: TMainForm;
|
||||
|
||||
procedure GlobalCEFApp_OnContextInitialized;
|
||||
procedure CreateGlobalCEFApp;
|
||||
|
||||
implementation
|
||||
|
||||
@ -108,6 +108,12 @@ begin
|
||||
PostMessage(MainForm.Handle, CEFBROWSER_INITIALIZED, 0, 0);
|
||||
end;
|
||||
|
||||
procedure CreateGlobalCEFApp;
|
||||
begin
|
||||
GlobalCEFApp := TCefApplication.Create;
|
||||
GlobalCEFApp.OnContextInitialized := GlobalCEFApp_OnContextInitialized;
|
||||
end;
|
||||
|
||||
procedure TMainForm.CreateToolboxChild(const ChildCaption, URL: string);
|
||||
var
|
||||
TempChild : TChildForm;
|
||||
|
Reference in New Issue
Block a user