@@ -46,6 +46,16 @@ TPyDelphiPresentedVertScrollBox = class(TPyDelphiCustomPresentedVertScrollBox)
46
46
property DelphiObject: TPresentedVertScrollBox read GetDelphiObject write SetDelphiObject;
47
47
end ;
48
48
49
+ TPyDelphiCustomPresentedHorzScrollBox = class (TPyDelphiCustomPresentedScrollBox)
50
+ private
51
+ function GetDelphiObject : TCustomPresentedHorzScrollBox;
52
+ procedure SetDelphiObject (const Value : TCustomPresentedHorzScrollBox);
53
+ public
54
+ class function DelphiObjectClass : TClass; override;
55
+ // Properties
56
+ property DelphiObject: TCustomPresentedHorzScrollBox read GetDelphiObject write SetDelphiObject;
57
+ end ;
58
+
49
59
implementation
50
60
51
61
uses
@@ -80,6 +90,7 @@ procedure TScrollBoxRegistration.RegisterWrappers(
80
90
APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiPresentedScrollBox);
81
91
APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiCustomPresentedVertScrollBox);
82
92
APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiPresentedVertScrollBox);
93
+ APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiCustomPresentedHorzScrollBox);
83
94
end ;
84
95
85
96
{ TPyDelphiCustomPresentedScrollBox }
@@ -154,6 +165,24 @@ procedure TPyDelphiPresentedVertScrollBox.SetDelphiObject(
154
165
inherited DelphiObject := Value ;
155
166
end ;
156
167
168
+ { TPyDelphiCustomPresentedHorzScrollBox }
169
+
170
+ class function TPyDelphiCustomPresentedHorzScrollBox.DelphiObjectClass : TClass;
171
+ begin
172
+ Result := TCustomPresentedHorzScrollBox;
173
+ end ;
174
+
175
+ function TPyDelphiCustomPresentedHorzScrollBox.GetDelphiObject : TCustomPresentedHorzScrollBox;
176
+ begin
177
+ Result := TCustomPresentedHorzScrollBox(inherited DelphiObject);
178
+ end ;
179
+
180
+ procedure TPyDelphiCustomPresentedHorzScrollBox.SetDelphiObject (
181
+ const Value : TCustomPresentedHorzScrollBox);
182
+ begin
183
+ inherited DelphiObject := Value ;
184
+ end ;
185
+
157
186
initialization
158
187
RegisteredUnits.Add(TScrollBoxRegistration.Create);
159
188
0 commit comments