@@ -177,6 +177,24 @@ TPyDelphiCustomTabControl = class (TPyDelphiCustomCustomTabControl)
177
177
property DelphiObject: TTabControl read GetDelphiObject write SetDelphiObject;
178
178
end ;
179
179
180
+ TPyDelphiCustomStatusBar = class (TPyDelphiWinControl)
181
+ private
182
+ function GetDelphiObject : TCustomStatusBar;
183
+ procedure SetDelphiObject (const Value : TCustomStatusBar);
184
+ public
185
+ class function DelphiObjectClass : TClass; override;
186
+ property DelphiObject: TCustomStatusBar read GetDelphiObject write SetDelphiObject;
187
+ end ;
188
+
189
+ TPyDelphiStatusBar = class (TPyDelphiCustomStatusBar)
190
+ private
191
+ function GetDelphiObject : TStatusBar;
192
+ procedure SetDelphiObject (const Value : TStatusBar);
193
+ public
194
+ class function DelphiObjectClass : TClass; override;
195
+ property DelphiObject: TStatusBar read GetDelphiObject write SetDelphiObject;
196
+ end ;
197
+
180
198
implementation
181
199
182
200
uses
@@ -217,6 +235,8 @@ procedure TComCtrlsRegistration.RegisterWrappers(APyDelphiWrapper: TPyDelphiWrap
217
235
APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiToolbar);
218
236
APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiCustomCustomTabControl);
219
237
APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiCustomTabControl);
238
+ APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiCustomStatusBar);
239
+ APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiStatusBar);
220
240
221
241
APyDelphiWrapper.EventHandlers.RegisterHandler(TTabChangingEventHandler);
222
242
end ;
@@ -864,6 +884,41 @@ procedure TPyDelphiCustomTabControl.SetDelphiObject(const Value: TTabControl);
864
884
inherited DelphiObject := Value ;
865
885
end ;
866
886
887
+ { TPyDelphiCustomStatusBar }
888
+
889
+ class function TPyDelphiCustomStatusBar.DelphiObjectClass : TClass;
890
+ begin
891
+ Result := TCustomStatusBar;
892
+ end ;
893
+
894
+ function TPyDelphiCustomStatusBar.GetDelphiObject : TCustomStatusBar;
895
+ begin
896
+ Result := TCustomStatusBar(inherited DelphiObject);
897
+ end ;
898
+
899
+ procedure TPyDelphiCustomStatusBar.SetDelphiObject (
900
+ const Value : TCustomStatusBar);
901
+ begin
902
+ inherited DelphiObject := Value ;
903
+ end ;
904
+
905
+ { TPyDelphiStatusBar }
906
+
907
+ class function TPyDelphiStatusBar.DelphiObjectClass : TClass;
908
+ begin
909
+ Result := TStatusBar;
910
+ end ;
911
+
912
+ function TPyDelphiStatusBar.GetDelphiObject : TStatusBar;
913
+ begin
914
+ Result := TStatusBar(inherited DelphiObject);
915
+ end ;
916
+
917
+ procedure TPyDelphiStatusBar.SetDelphiObject (const Value : TStatusBar);
918
+ begin
919
+ inherited DelphiObject := Value ;
920
+ end ;
921
+
867
922
initialization
868
923
RegisteredUnits.Add( TComCtrlsRegistration.Create );
869
924
{ $IFNDEF FPC}
0 commit comments