@@ -86,6 +86,16 @@ TPyDelphiDateColumn = class(TPyDelphiDateTimeColumnBase)
86
86
property DelphiObject: TDateColumn read GetDelphiObject write SetDelphiObject;
87
87
end ;
88
88
89
+ TPyDelphiPopupColumn = class (TPyDelphiColumn)
90
+ private
91
+ function GetDelphiObject : TPopupColumn;
92
+ procedure SetDelphiObject (const Value : TPopupColumn);
93
+ public
94
+ class function DelphiObjectClass : TClass; override;
95
+ // Properties
96
+ property DelphiObject: TPopupColumn read GetDelphiObject write SetDelphiObject;
97
+ end ;
98
+
89
99
implementation
90
100
91
101
uses
@@ -124,6 +134,7 @@ procedure TGridsRegistration.RegisterWrappers(
124
134
APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiDateTimeColumn);
125
135
APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiTimeColumn);
126
136
APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiDateColumn);
137
+ APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiPopupColumn);
127
138
end ;
128
139
129
140
{ TPyDelphiColumn }
@@ -263,6 +274,23 @@ procedure TPyDelphiDateColumn.SetDelphiObject(const Value: TDateColumn);
263
274
inherited DelphiObject := Value ;
264
275
end ;
265
276
277
+ { TPyDelphiPopupColumn }
278
+
279
+ class function TPyDelphiPopupColumn.DelphiObjectClass : TClass;
280
+ begin
281
+ Result := TPopupColumn;
282
+ end ;
283
+
284
+ function TPyDelphiPopupColumn.GetDelphiObject : TPopupColumn;
285
+ begin
286
+ Result := TPopupColumn(inherited DelphiObject);
287
+ end ;
288
+
289
+ procedure TPyDelphiPopupColumn.SetDelphiObject (const Value : TPopupColumn);
290
+ begin
291
+ inherited DelphiObject := Value ;
292
+ end ;
293
+
266
294
initialization
267
295
RegisteredUnits.Add(TGridsRegistration.Create);
268
296
0 commit comments