On Monday 25 September 2017 20:58:57 fredvs wrote:
> But is it possible to have a filelist with those data too in extra columns?
> Or maybe only the name can be displayed.
tfilelistview inherits from tlistview which shows tlistitem objects.
Please use a tstringgrid or a twidgetgrid with the wanted columns and fill it
with the data provided by a tfiledatalist in unit msefileutils.
> Is it possible to apply a filter?
> What would be the syntax to assign as filter, for example: '*.you, *.she,
> *.me' ?
tfilelistview.mask:= '"*.you" "*.she" "*.me"'.
On Tuesday 26 September 2017 15:57:29 fredvs wrote:
> >> Is it possible to apply a filter?
> > tfilelistview.mask:= '"*.you" "*.she" "*.me"'.
> Does not work here:
> filelistfo.list_files.path := dir.value;
That sets the mask and loads the files.
loads the mp3 files of currentdirectory.
> filelistfo.list_files.mask := '"*.mp3" "*.wav" "*.ogg" "*.flac"';
sets the mask for next readlist() command.
sets the directory for the next readlist() command.
reads the mp3, wav, ogg and flac files of the current directory.