mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2024-11-16 08:15:55 +01:00
51d8c20f63
- Removed "cmem" and "interfaces" from the TinyBrowser2 demo for Linux. - Simplified the code of the TinyBrowser2 demo for Linux. - Added the workaround for the CEF focus issue to TChromiumWindow in Linux. - Set the result type of GetChildWindowHandle to LclType.THandle in FPC for TCEFWinControl, TCEFLinkedWindowParent and TChromiumWindow.
64 lines
1.3 KiB
Plaintext
64 lines
1.3 KiB
Plaintext
object Form1: TForm1
|
|
Left = 335
|
|
Height = 705
|
|
Top = 119
|
|
Width = 1013
|
|
Caption = 'Initializing browser. Please wait...'
|
|
ClientHeight = 705
|
|
ClientWidth = 1013
|
|
OnActivate = FormActivate
|
|
OnCloseQuery = FormCloseQuery
|
|
OnCreate = FormCreate
|
|
Position = poScreenCenter
|
|
LCLVersion = '2.0.10.0'
|
|
object AddressPnl: TPanel
|
|
Left = 0
|
|
Height = 25
|
|
Top = 0
|
|
Width = 1013
|
|
Align = alTop
|
|
BevelOuter = bvNone
|
|
ClientHeight = 25
|
|
ClientWidth = 1013
|
|
Enabled = False
|
|
TabOrder = 0
|
|
object AddressEdt: TEdit
|
|
Left = 0
|
|
Height = 25
|
|
Top = 0
|
|
Width = 982
|
|
Align = alClient
|
|
TabOrder = 0
|
|
Text = 'http://www.google.com'
|
|
end
|
|
object GoBtn: TButton
|
|
Left = 982
|
|
Height = 25
|
|
Top = 0
|
|
Width = 31
|
|
Align = alRight
|
|
Caption = 'Go'
|
|
OnClick = GoBtnClick
|
|
TabOrder = 1
|
|
end
|
|
end
|
|
object ChromiumWindow1: TChromiumWindow
|
|
Left = 0
|
|
Height = 680
|
|
Top = 25
|
|
Width = 1013
|
|
Align = alClient
|
|
TabStop = True
|
|
TabOrder = 1
|
|
OnBeforeClose = ChromiumWindow1BeforeClose
|
|
OnAfterCreated = ChromiumWindow1AfterCreated
|
|
end
|
|
object Timer1: TTimer
|
|
Enabled = False
|
|
Interval = 300
|
|
OnTimer = Timer1Timer
|
|
Left = 80
|
|
Top = 120
|
|
end
|
|
end
|