File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,16 @@ TPyDelphiCustomMultiView = class(TPyDelphiPresentedControl)
2626 property DelphiObject: TCustomMultiView read GetDelphiObject write SetDelphiObject;
2727 end ;
2828
29+ TPyDelphiMultiView = class (TPyDelphiCustomMultiView)
30+ private
31+ function GetDelphiObject : TMultiView;
32+ procedure SetDelphiObject (const Value : TMultiView);
33+ public
34+ class function DelphiObjectClass : TClass; override;
35+ // Properties
36+ property DelphiObject: TMultiView read GetDelphiObject write SetDelphiObject;
37+ end ;
38+
2939implementation
3040
3141uses
@@ -58,6 +68,7 @@ procedure TComCtrlsRegistration.RegisterWrappers(
5868 inherited ;
5969 APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiTabControl);
6070 APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiCustomMultiView);
71+ APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiMultiView);
6172end ;
6273
6374{ TPyDelphiTabControl }
@@ -95,6 +106,23 @@ procedure TPyDelphiCustomMultiView.SetDelphiObject(
95106 inherited DelphiObject := Value ;
96107end ;
97108
109+ { TPyDelphiMultiView }
110+
111+ class function TPyDelphiMultiView.DelphiObjectClass : TClass;
112+ begin
113+ Result := TMultiView;
114+ end ;
115+
116+ function TPyDelphiMultiView.GetDelphiObject : TMultiView;
117+ begin
118+ Result := TMultiView(inherited DelphiObject);
119+ end ;
120+
121+ procedure TPyDelphiMultiView.SetDelphiObject (const Value : TMultiView);
122+ begin
123+ inherited DelphiObject := Value ;
124+ end ;
125+
98126initialization
99127 RegisteredUnits.Add( TComCtrlsRegistration.Create );
100128
You can’t perform that action at this time.
0 commit comments