mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2024-11-17 00:35:57 +01:00
318318c85c
Added ToolBoxBrowser2 demo Added TCEFBrowserViewComponent. Added TCEFLabelButtonComponent. Added TCEFMenuButtonComponent. Added TCEFPanelComponent. Added TCEFTextfieldComponent. Added TCEFScrollViewComponent. Added TCEFWindowComponent.
34 lines
574 B
ObjectPascal
34 lines
574 B
ObjectPascal
program ToolBoxBrowser2;
|
|
|
|
{$MODE Delphi}
|
|
|
|
uses
|
|
{$IFDEF DELPHI16_UP}
|
|
Vcl.Forms,
|
|
WinApi.Windows,
|
|
{$ELSE}
|
|
Windows,
|
|
Forms,
|
|
LCLIntf, LCLType, LMessages, Interfaces,
|
|
{$ENDIF }
|
|
uCEFApplication,
|
|
uMainForm in 'uMainForm.pas' {MainForm};
|
|
|
|
{.$R *.res}
|
|
|
|
{$SetPEFlags IMAGE_FILE_LARGE_ADDRESS_AWARE}
|
|
|
|
begin
|
|
CreateGlobalCEFApp;
|
|
|
|
if GlobalCEFApp.StartMainProcess then
|
|
begin
|
|
Application.Initialize;
|
|
Application.MainFormOnTaskbar := True;
|
|
Application.CreateForm(TMainForm, MainForm);
|
|
Application.Run;
|
|
end;
|
|
|
|
DestroyGlobalCEFApp;
|
|
end.
|