Changeset 72 for trunk/Packages/Common/UListViewSort.pas
- Timestamp:
- Mar 6, 2016, 12:10:38 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/Common/UListViewSort.pas
r59 r72 119 119 var 120 120 I: Integer; 121 NewColumn: TGridColumn;122 121 begin 123 122 with FStringGrid1 do begin 124 123 Columns.Clear; 125 124 while Columns.Count > ListView.Columns.Count do Columns.Delete(Columns.Count - 1); 126 while Columns.Count < ListView.Columns.Count do NewColumn :=Columns.Add;125 while Columns.Count < ListView.Columns.Count do Columns.Add; 127 126 for I := 0 to ListView.Columns.Count - 1 do begin 128 127 Columns[I].Width := ListView.Columns[I].Width;
Note:
See TracChangeset
for help on using the changeset viewer.