|The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....|
|Home BasePack DStruct Class TStringArray Events OnBeforeSortExchange|
|See also: Sort, TBeforeSortExchgEvent|
The OnBeforeSortExchange event is generated immediately before the decision whether two rows or two columns of a string array are to be exchanged. This event is triggered twice per sorting operation (for each of the two strings to be compared).
In order to influence the sorting order, the variable parameter OutString has to be a transformed version of InString. Please note that the OutString is solely used for the sorting comparison, the actual string of the string array is left unchanged.