ImageEn, unit iexColorPalette

TIEColorPalette.SortOrder

TIEColorPalette.SortOrder


Declaration

property SortOrder: TIESortOrder;


Description

Allow reversing of the sorting method specified by SortMethod.

Note: Has no effect if SortMethod is iesmNone


Example

// Toggle the sort order
if IEColorPalette1.SortOrder = iesoAscending then
  IEColorPalette1.SortOrder := iesoDescending
else
  IEColorPalette1.SortOrder := iesoAscending;