mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-01-03 10:15:38 +02:00
318318c85c
Added ToolBoxBrowser2 demo Added TCEFBrowserViewComponent. Added TCEFLabelButtonComponent. Added TCEFMenuButtonComponent. Added TCEFPanelComponent. Added TCEFTextfieldComponent. Added TCEFScrollViewComponent. Added TCEFWindowComponent.
31 lines
513 B
ObjectPascal
31 lines
513 B
ObjectPascal
program ToolBoxBrowser2;
|
|
|
|
uses
|
|
{$IFDEF DELPHI16_UP}
|
|
Vcl.Forms,
|
|
WinApi.Windows,
|
|
{$ELSE}
|
|
Forms,
|
|
Windows,
|
|
{$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.
|