@@ -116,6 +116,16 @@ TPyDelphiCustomNumberColumn = class(TPyDelphiColumn)
116116 property DelphiObject: TCustomNumberColumn read GetDelphiObject write SetDelphiObject;
117117 end ;
118118
119+ TPyDelphiCurrencyColumn = class (TPyDelphiCustomNumberColumn)
120+ private
121+ function GetDelphiObject : TCurrencyColumn;
122+ procedure SetDelphiObject (const Value : TCurrencyColumn);
123+ public
124+ class function DelphiObjectClass : TClass; override;
125+ // Properties
126+ property DelphiObject: TCurrencyColumn read GetDelphiObject write SetDelphiObject;
127+ end ;
128+
119129implementation
120130
121131uses
@@ -157,6 +167,7 @@ procedure TGridsRegistration.RegisterWrappers(
157167 APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiPopupColumn);
158168 APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiImageColumn);
159169 APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiCustomNumberColumn);
170+ APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiCurrencyColumn);
160171end ;
161172
162173{ TPyDelphiColumn }
@@ -348,6 +359,23 @@ procedure TPyDelphiCustomNumberColumn.SetDelphiObject(
348359 inherited DelphiObject := Value ;
349360end ;
350361
362+ { TPyDelphiCurrencyColumn }
363+
364+ class function TPyDelphiCurrencyColumn.DelphiObjectClass : TClass;
365+ begin
366+ Result := TCurrencyColumn;
367+ end ;
368+
369+ function TPyDelphiCurrencyColumn.GetDelphiObject : TCurrencyColumn;
370+ begin
371+ Result := TCurrencyColumn(inherited DelphiObject);
372+ end ;
373+
374+ procedure TPyDelphiCurrencyColumn.SetDelphiObject (const Value : TCurrencyColumn);
375+ begin
376+ inherited DelphiObject := Value ;
377+ end ;
378+
351379initialization
352380 RegisteredUnits.Add(TGridsRegistration.Create);
353381
0 commit comments