@@ -146,6 +146,16 @@ TPyDelphiIntegerColumn = class(TPyDelphiCustomNumberColumn)
146146 property DelphiObject: TIntegerColumn read GetDelphiObject write SetDelphiObject;
147147 end ;
148148
149+ TPyDelphiGlyphColumn = class (TPyDelphiColumn)
150+ private
151+ function GetDelphiObject : TGlyphColumn;
152+ procedure SetDelphiObject (const Value : TGlyphColumn);
153+ public
154+ class function DelphiObjectClass : TClass; override;
155+ // Properties
156+ property DelphiObject: TGlyphColumn read GetDelphiObject write SetDelphiObject;
157+ end ;
158+
149159implementation
150160
151161uses
@@ -190,6 +200,7 @@ procedure TGridsRegistration.RegisterWrappers(
190200 APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiCurrencyColumn);
191201 APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiFloatColumn);
192202 APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiIntegerColumn);
203+ APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiGlyphColumn);
193204end ;
194205
195206{ TPyDelphiColumn }
@@ -432,6 +443,23 @@ procedure TPyDelphiIntegerColumn.SetDelphiObject(const Value: TIntegerColumn);
432443 inherited DelphiObject := Value ;
433444end ;
434445
446+ { TPyDelphiGlyphColumn }
447+
448+ class function TPyDelphiGlyphColumn.DelphiObjectClass : TClass;
449+ begin
450+ Result := TGlyphColumn;
451+ end ;
452+
453+ function TPyDelphiGlyphColumn.GetDelphiObject : TGlyphColumn;
454+ begin
455+ Result := TGlyphColumn(inherited DelphiObject);
456+ end ;
457+
458+ procedure TPyDelphiGlyphColumn.SetDelphiObject (const Value : TGlyphColumn);
459+ begin
460+ inherited DelphiObject := Value ;
461+ end ;
462+
435463initialization
436464 RegisteredUnits.Add(TGridsRegistration.Create);
437465
0 commit comments