@@ -56,6 +56,16 @@ TPyDelphiVertScrollBox = class(TPyDelphiCustomScrollBox)
5656 property DelphiObject: TVertScrollBox read GetDelphiObject write SetDelphiObject;
5757 end ;
5858
59+ TPyDelphiHorzScrollBox = class (TPyDelphiCustomScrollBox)
60+ private
61+ function GetDelphiObject : THorzScrollBox;
62+ procedure SetDelphiObject (const Value : THorzScrollBox);
63+ public
64+ class function DelphiObjectClass : TClass; override;
65+ // Properties
66+ property DelphiObject: THorzScrollBox read GetDelphiObject write SetDelphiObject;
67+ end ;
68+
5969implementation
6070
6171{ Register the wrappers, the globals and the constants }
@@ -88,6 +98,7 @@ procedure TLayoutsRegistration.RegisterWrappers(
8898 APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiCustomScrollBox);
8999 APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiScrollBox);
90100 APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiVertScrollBox);
101+ APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiHorzScrollBox);
91102end ;
92103
93104{ TPyDelphiLayout }
@@ -176,6 +187,23 @@ procedure TPyDelphiVertScrollBox.SetDelphiObject(const Value: TVertScrollBox);
176187 inherited DelphiObject := Value ;
177188end ;
178189
190+ { TPyDelphiHorzScrollBox }
191+
192+ class function TPyDelphiHorzScrollBox.DelphiObjectClass : TClass;
193+ begin
194+ Result := THorzScrollBox;
195+ end ;
196+
197+ function TPyDelphiHorzScrollBox.GetDelphiObject : THorzScrollBox;
198+ begin
199+ Result := THorzScrollBox(inherited DelphiObject);
200+ end ;
201+
202+ procedure TPyDelphiHorzScrollBox.SetDelphiObject (const Value : THorzScrollBox);
203+ begin
204+ inherited DelphiObject := Value ;
205+ end ;
206+
179207initialization
180208 RegisteredUnits.Add(TLayoutsRegistration.Create);
181209
0 commit comments