You've already forked CEF4Delphi
mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-06-12 22:07:39 +02:00
Added Views Framework support #244
Added ToolBoxBrowser2 demo Added TCEFBrowserViewComponent. Added TCEFLabelButtonComponent. Added TCEFMenuButtonComponent. Added TCEFPanelComponent. Added TCEFTextfieldComponent. Added TCEFScrollViewComponent. Added TCEFWindowComponent.
This commit is contained in:
@ -122,8 +122,18 @@ begin
|
||||
end;
|
||||
|
||||
class function TCefScrollViewRef.CreateScrollView(const delegate: ICefViewDelegate): ICefScrollView;
|
||||
var
|
||||
TempScrollView : PCefScrollView;
|
||||
begin
|
||||
UnWrap(cef_scroll_view_create(CefGetData(delegate)));
|
||||
Result := nil;
|
||||
|
||||
if (delegate <> nil) then
|
||||
begin
|
||||
TempScrollView := cef_scroll_view_create(CefGetData(delegate));
|
||||
|
||||
if (TempScrollView <> nil) then
|
||||
Result := Create(TempScrollView) as ICefScrollView;
|
||||
end;
|
||||
end;
|
||||
|
||||
end.
|
||||
|
Reference in New Issue
Block a user