You've already forked CEF4Delphi
mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-11-23 21:34:53 +02:00
Fix TEmbeddedChromium as sub-component
This commit is contained in:
@@ -961,6 +961,7 @@ begin
|
||||
FChromium.OnIMECompositionRangeChanged := @DoGetChromiumIMECompositionRangeChanged;
|
||||
|
||||
inherited Create(AOwner);
|
||||
ControlStyle := ControlStyle + [csOwnedChildrenNotSelectable];
|
||||
CopyOriginalBuffer := true;
|
||||
end;
|
||||
|
||||
@@ -1012,6 +1013,7 @@ procedure Register;
|
||||
begin
|
||||
{$I res/TOsrBrowserWindow.lrs}
|
||||
RegisterComponents('Chromium', [TOsrBrowserWindow]);
|
||||
RegisterClass(TEmbeddedOsrChromium);
|
||||
RegisterPropertyEditor(TypeInfo(TOnClose), TEmbeddedOsrChromium,'OnClose',THiddenPropertyEditor);
|
||||
RegisterPropertyEditor(TypeInfo(TOnPaint), TEmbeddedOsrChromium,'OnPaint',THiddenPropertyEditor);
|
||||
RegisterPropertyEditor(TypeInfo(TOnGetViewRect), TEmbeddedOsrChromium,'OnGetViewRect',THiddenPropertyEditor);
|
||||
|
||||
Reference in New Issue
Block a user