@@ -36,6 +36,16 @@ TPyDelphiProgressColumn = class(TPyDelphiColumn)
36
36
property DelphiObject: TProgressColumn read GetDelphiObject write SetDelphiObject;
37
37
end ;
38
38
39
+ TPyDelphiCheckColumn = class (TPyDelphiColumn)
40
+ private
41
+ function GetDelphiObject : TCheckColumn;
42
+ procedure SetDelphiObject (const Value : TCheckColumn);
43
+ public
44
+ class function DelphiObjectClass : TClass; override;
45
+ // Properties
46
+ property DelphiObject: TCheckColumn read GetDelphiObject write SetDelphiObject;
47
+ end ;
48
+
39
49
implementation
40
50
41
51
uses
@@ -69,6 +79,7 @@ procedure TGridsRegistration.RegisterWrappers(
69
79
APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiColumn);
70
80
APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiStringColumn);
71
81
APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiProgressColumn);
82
+ APyDelphiWrapper.RegisterDelphiWrapper(TPyDelphiCheckColumn);
72
83
end ;
73
84
74
85
{ TPyDelphiColumn }
@@ -122,6 +133,23 @@ procedure TPyDelphiProgressColumn.SetDelphiObject(const Value: TProgressColumn);
122
133
inherited DelphiObject := Value ;
123
134
end ;
124
135
136
+ { TPyDelphiCheckColumn }
137
+
138
+ class function TPyDelphiCheckColumn.DelphiObjectClass : TClass;
139
+ begin
140
+ Result := TCheckColumn;
141
+ end ;
142
+
143
+ function TPyDelphiCheckColumn.GetDelphiObject : TCheckColumn;
144
+ begin
145
+ Result := TCheckColumn(inherited DelphiObject);
146
+ end ;
147
+
148
+ procedure TPyDelphiCheckColumn.SetDelphiObject (const Value : TCheckColumn);
149
+ begin
150
+ inherited DelphiObject := Value ;
151
+ end ;
152
+
125
153
initialization
126
154
RegisteredUnits.Add(TGridsRegistration.Create);
127
155
0 commit comments