Frequently Asked Component Specific Questions
Options |
|
Display all FAQ items |
Displaying items 1 to 1 of 1, page 1 of 1
<< previous next >>

TAdvListViewSorting case insensitive on AdvListview
Implement the OnGetFormat event, for example, if column X needs to be sorted case insensitive, write:
procedure TForm1.AdvListView1GetFormat(Sender: TObject; ACol: Integer;
var AStyle: TSortStyle; var aPrefix, aSuffix: string);
begin
if ACol = X then
AStyle := ssAlphaNoCase;
end;