@@ -36,6 +36,16 @@ TPyDelphiCustomPresentedVertScrollBox = class(TPyDelphiCustomPresentedScrollBo
36
36
property DelphiObject: TCustomPresentedVertScrollBox read GetDelphiObject write SetDelphiObject;
37
37
end ;
38
38
39
+ TPyDelphiPresentedVertScrollBox = class (TPyDelphiCustomPresentedVertScrollBox)
40
+ private
41
+ function GetDelphiObject : TPresentedVertScrollBox;
42
+ procedure SetDelphiObject (const Value : TPresentedVertScrollBox);
43
+ public
44
+ class function DelphiObjectClass : TClass; override;
45
+ // Properties
46
+ property DelphiObject: TPresentedVertScrollBox read GetDelphiObject write SetDelphiObject;
47
+ end ;
48
+
39
49
implementation
40
50
41
51
uses
@@ -69,6 +79,7 @@ procedure TScrollBoxRegistration.RegisterWrappers(
69
79
APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiCustomPresentedScrollBox);
70
80
APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiPresentedScrollBox);
71
81
APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiCustomPresentedVertScrollBox);
82
+ APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiPresentedVertScrollBox);
72
83
end ;
73
84
74
85
{ TPyDelphiCustomPresentedScrollBox }
@@ -125,6 +136,24 @@ procedure TPyDelphiCustomPresentedVertScrollBox.SetDelphiObject(
125
136
inherited DelphiObject := Value ;
126
137
end ;
127
138
139
+ { TPyDelphiPresentedVertScrollBox }
140
+
141
+ class function TPyDelphiPresentedVertScrollBox.DelphiObjectClass : TClass;
142
+ begin
143
+ Result := TPresentedVertScrollBox;
144
+ end ;
145
+
146
+ function TPyDelphiPresentedVertScrollBox.GetDelphiObject : TPresentedVertScrollBox;
147
+ begin
148
+ Result := TPresentedVertScrollBox(inherited DelphiObject);
149
+ end ;
150
+
151
+ procedure TPyDelphiPresentedVertScrollBox.SetDelphiObject (
152
+ const Value : TPresentedVertScrollBox);
153
+ begin
154
+ inherited DelphiObject := Value ;
155
+ end ;
156
+
128
157
initialization
129
158
RegisteredUnits.Add(TScrollBoxRegistration.Create);
130
159
0 commit comments