[Gambas-user] FileView

Benoit Minisini gambas at ...1...
Sat Sep 22 20:54:05 CEST 2007


On samedi 22 septembre 2007, António Pereira wrote:
> Hi every one!!!
>
> Is there any way to count files listed on a FileView?
> I try this way:
>
>    FileView1.Dir = Application.Path
>    FileView1.Filter = ["*.txt", "All Text files"]
>    Message.Info(FileView1.Children.Count)
>
> But the returned counter is allways 2 !!!
>
> Regards,
>
>    Antonio
>

You have the FileView.Count property for that now.

Regards,

-- 
Benoit Minisini




More information about the User mailing list