You've already forked CEF4Delphi
mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-12-13 21:45:55 +02:00
Update to CEF 3.3325.1749.ga42963a
This commit is contained in:
@@ -455,6 +455,14 @@ procedure TMiniBrowserFrm.Chromium1FullScreenModeChange(Sender: TObject;
|
||||
begin
|
||||
if not(Chromium1.IsSameBrowser(browser)) then exit;
|
||||
|
||||
// This event is executed in a CEF thread and this can cause problems when
|
||||
// you change the 'Enabled' and 'Visible' properties from VCL components.
|
||||
// It's recommended to change the 'Enabled' and 'Visible' properties
|
||||
// in the main application thread and not in a CEF thread.
|
||||
// It's much safer to use PostMessage to send a message to the main form with
|
||||
// all this information and update those properties in the procedure handling
|
||||
// that message.
|
||||
|
||||
if fullscreen then
|
||||
begin
|
||||
NavControlPnl.Visible := False;
|
||||
@@ -553,6 +561,14 @@ procedure TMiniBrowserFrm.Chromium1LoadingStateChange(Sender: TObject;
|
||||
begin
|
||||
if not(Chromium1.IsSameBrowser(browser)) then exit;
|
||||
|
||||
// This event is executed in a CEF thread and this can cause problems when
|
||||
// you change the 'Enabled' and 'Visible' properties from VCL components.
|
||||
// It's recommended to change the 'Enabled' and 'Visible' properties
|
||||
// in the main application thread and not in a CEF thread.
|
||||
// It's much safer to use PostMessage to send a message to the main form with
|
||||
// all this information and update those properties in the procedure handling
|
||||
// that message.
|
||||
|
||||
BackBtn.Enabled := canGoBack;
|
||||
ForwardBtn.Enabled := canGoForward;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user