@@ -1281,8 +1281,6 @@ TVirtualTreeColumns = class(TCollection)
1281
1281
FDragIndex: TColumnIndex; // index of column currently being dragged
1282
1282
FDropTarget: TColumnIndex; // current target column (index) while dragging
1283
1283
FDropBefore: Boolean; // True if drop position is in the left half of a column, False for the right
1284
- // side to drop the dragged column to
1285
- function GetCount: Integer;
1286
1284
function GetItem(Index: TColumnIndex): TVirtualTreeColumn;
1287
1285
function GetNewIndex(P: TPoint; var OldIndex: TColumnIndex): Boolean;
1288
1286
procedure SetDefaultWidth(Value: Integer);
@@ -1336,7 +1334,6 @@ TVirtualTreeColumns = class(TCollection)
1336
1334
procedure SaveToStream(const Stream: TStream);
1337
1335
function TotalWidth: Integer;
1338
1336
1339
- property Count: Integer read GetCount;
1340
1337
property ClickIndex: TColumnIndex read FClickIndex;
1341
1338
property DefaultWidth: Integer read FDefaultWidth write SetDefaultWidth default 50;
1342
1339
property Items[Index: TColumnIndex]: TVirtualTreeColumn read GetItem write SetItem; default;
@@ -6206,18 +6203,18 @@ constructor TVirtualTreeColumn.Create(Collection: TCollection);
6206
6203
FImageIndex := -1;
6207
6204
FMargin := 4;
6208
6205
FSpacing := 4;
6209
- FText := '';
6206
+ // FText := '';
6210
6207
FOptions := DefaultColumnOptions;
6211
6208
FAlignment := taLeftJustify;
6212
6209
FBidiMode := bdLeftToRight;
6213
6210
FColor := clWindow;
6214
6211
FLayout := blGlyphLeft;
6215
- FBonusPixel := False;
6212
+ // FBonusPixel := False;
6216
6213
FCaptionAlignment := taLeftJustify;
6217
6214
FCheckType := ctCheckBox;
6218
6215
FCheckState := csUncheckedNormal;
6219
- FCheckBox := False;
6220
- FHasImage := False;
6216
+ // FCheckBox := False;
6217
+ // FHasImage := False;
6221
6218
6222
6219
inherited Create(Collection);
6223
6220
@@ -7340,14 +7337,6 @@ destructor TVirtualTreeColumns.Destroy;
7340
7337
7341
7338
//----------------------------------------------------------------------------------------------------------------------
7342
7339
7343
- function TVirtualTreeColumns.GetCount: Integer;
7344
-
7345
- begin
7346
- Result := inherited Count;
7347
- end;
7348
-
7349
- //----------------------------------------------------------------------------------------------------------------------
7350
-
7351
7340
function TVirtualTreeColumns.GetItem(Index: TColumnIndex): TVirtualTreeColumn;
7352
7341
7353
7342
begin
0 commit comments