@@ -86,6 +86,16 @@ TPyDelphiDateColumn = class(TPyDelphiDateTimeColumnBase)
8686 property DelphiObject: TDateColumn read GetDelphiObject write SetDelphiObject;
8787 end ;
8888
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+
8999implementation
90100
91101uses
@@ -124,6 +134,7 @@ procedure TGridsRegistration.RegisterWrappers(
124134 APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiDateTimeColumn);
125135 APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiTimeColumn);
126136 APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiDateColumn);
137+ APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiPopupColumn);
127138end ;
128139
129140{ TPyDelphiColumn }
@@ -263,6 +274,23 @@ procedure TPyDelphiDateColumn.SetDelphiObject(const Value: TDateColumn);
263274 inherited DelphiObject := Value ;
264275end ;
265276
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+
266294initialization
267295 RegisteredUnits.Add(TGridsRegistration.Create);
268296
0 commit comments