[Gambas-user] Dialog.Filter

Benoît Minisini gambas at ...1...
Sun Feb 23 23:43:38 CET 2003


Le Samedi 22 Février 2003 13:56, Charlie a écrit :
> Salut,
>
> somebody knows if there is a possibilliety to passe more then one Filter
> to a Dialog ?
> Like : '*.class' and 'All Files and Exclude ".*"
>
>
>
> amicalement
> Charlie
>
>

Yes. 

Just do something like that:

Dialog.Filter = "Text files (*.txt)\nAll files (*.*)"

And it works !

But be careful, it works only with QT. A GTK component could make the syntax 
change...

Regards,

-- 
Benoît Minisini
mailto:gambas at ...1...




More information about the User mailing list