Re: [MSEide-MSEgui-talk] New extended MSEFileDialog component.

2020-08-29 Thread fredvs
Hello everybody. Added git repository of MSEFileDialogX, a extended MSEFileDialog component. Included a demo to show how to use it. https://github.com/fredvs/msefiledialogx Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ___

Re: [MSEide-MSEgui-talk] New extended MSEFileDialog component.

2020-08-29 Thread fredvs
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

Re: [MSEide-MSEgui-talk] New extended MSEFileDialog component.

2020-08-29 Thread Fred van Stappen
Hello Roland. Thanks for the tips + links, I will study it. But all this must take attention to sorting. The size column is in a TStringGrid and the sorting must be adapted for numbers. For example, '100 KB' will be < '99 KB' because it sort with the first string, even if it is a number. The