@@ -96,6 +96,16 @@ TPyDelphiPopupColumn = class(TPyDelphiColumn)
96
96
property DelphiObject: TPopupColumn read GetDelphiObject write SetDelphiObject;
97
97
end ;
98
98
99
+ TPyDelphiImageColumn = class (TPyDelphiColumn)
100
+ private
101
+ function GetDelphiObject : TImageColumn;
102
+ procedure SetDelphiObject (const Value : TImageColumn);
103
+ public
104
+ class function DelphiObjectClass : TClass; override;
105
+ // Properties
106
+ property DelphiObject: TImageColumn read GetDelphiObject write SetDelphiObject;
107
+ end ;
108
+
99
109
implementation
100
110
101
111
uses
@@ -135,6 +145,7 @@ procedure TGridsRegistration.RegisterWrappers(
135
145
APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiTimeColumn);
136
146
APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiDateColumn);
137
147
APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiPopupColumn);
148
+ APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiImageColumn);
138
149
end ;
139
150
140
151
{ TPyDelphiColumn }
@@ -291,6 +302,23 @@ procedure TPyDelphiPopupColumn.SetDelphiObject(const Value: TPopupColumn);
291
302
inherited DelphiObject := Value ;
292
303
end ;
293
304
305
+ { TPyDelphiImageColumn }
306
+
307
+ class function TPyDelphiImageColumn.DelphiObjectClass : TClass;
308
+ begin
309
+ Result := TImageColumn;
310
+ end ;
311
+
312
+ function TPyDelphiImageColumn.GetDelphiObject : TImageColumn;
313
+ begin
314
+ Result := TImageColumn(inherited DelphiObject);
315
+ end ;
316
+
317
+ procedure TPyDelphiImageColumn.SetDelphiObject (const Value : TImageColumn);
318
+ begin
319
+ inherited DelphiObject := Value ;
320
+ end ;
321
+
294
322
initialization
295
323
RegisteredUnits.Add(TGridsRegistration.Create);
296
324
0 commit comments