Here the workaround used to make the size column sort-able: var size, x, y : integer; thestrnum : string; ...
size := the_size_in_bytes ; thestrnum := inttostr(size); x := Length(thestrnum); if x < 15 then // that should be enough for y := 0 to 14 - x do thestrnum := ' ' + thestrnum; Ok course you may convert first the bytes into KB or MB, and use the same trick. But to mix B, KB and MB; it is more tricky. -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ _______________________________________________ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk