Hi,
I discovered the excellent TShellTreeView and TShellListView.
How would I filter the shown files in TShellListView to a single or a few types, like '*.txt' or '*.txt; '*.rtf'?
TIA,
Marc

Mailing lists / lazarus / 2016-04
8 messages · 3 people · –
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Hi,
I discovered the excellent TShellTreeView and TShellListView.
How would I filter the shown files in TShellListView to a single or a few types, like '*.txt' or '*.txt; '*.rtf'?
TIA,
Marc
I discovered the excellent TShellTreeView and TShellListView. How would I filter the…
Marc Santhoff wroteI discovered the excellent TShellTreeView and TShellListView. How would I filter the shown files in TShellListView to a single or a few types, like '*.txt' or '*.txt; '*.rtf'?
I don't think you can.
Bart
I thought so too, but only because I didn't look for the "Mask" property of TCustomShellListView. :)
Work nicely, like in file dialogs and the like. Great code.
Marc Santhoff wroteI thought so too, but only because I didn't look for the "Mask" property of TCustomShellListView. :)
I didn't see it in OI, was too lazy to look it up in the source. Looks like a property that should be published?
Bart
I think so. I only found it when I wanted to start implmenting it myself while looking at the list population code. ;)
Done in r52165 (trunk).
Since this is not a bug, it will not be merged to 1.6 fixes branch I think.
Bart
Thank you.
Since this is not a bug, it will not be merged to 1.6 fixes branch I think.
I can live with that, now that I know. ;)