- Timestamp:
- Mar 13, 2018, 6:26:30 PM (7 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMain.pas
r176 r177 483 483 Core.PersistentForm1.Load(Self); 484 484 Core.ThemeManager.UseTheme(Self); 485 ListViewFilter1.UpdateFromListView(ListViewAcronyms); 485 486 UpdateInterface; 486 487 ListViewFilter1.StringGrid.Col := 1; -
trunk/Packages/Common/UListViewSort.pas
r175 r177 142 142 var 143 143 I: Integer; 144 R: TRect; 144 145 begin 145 146 with FStringGrid1 do begin 146 Options := Options - [goEditing, goAlwaysShowEditor];147 //Columns.Clear;148 147 while Columns.Count > ListView.Columns.Count do Columns.Delete(Columns.Count - 1); 149 148 while Columns.Count < ListView.Columns.Count do Columns.Add; 150 149 for I := 0 to ListView.Columns.Count - 1 do begin 151 150 Columns[I].Width := ListView.Columns[I].Width; 151 if Selection.Left = I then begin 152 R := CellRect(I, 0); 153 Editor.Left := R.Left + 2; 154 Editor.Width := R.Width - 4; 155 end; 152 156 end; 153 Options := Options + [goEditing, goAlwaysShowEditor];154 157 end; 155 158 end;
Note:
See TracChangeset
for help on using the changeset viewer.