[Gambas-user] dialog.filter seems broken

Stefano Palmeri stefanopalmeri at ...152...
Thu Sep 7 16:00:05 CEST 2006


Alle 15:47, giovedì 7 settembre 2006, Stefano Palmeri ha scritto:
> Alle 14:26, giovedì 7 settembre 2006, Timothy Marshal-Nichols ha scritto:
> > Does my printing example in gambas 2 open image files correctly?
> > 
> > If it does, then there is a FileFilter function in there you could try.
> > 
> > I have just tried this in Gambas 1.0.17 and 1.9.41 and it seems to work.
> > 
> > Thanks
> 
> Yes, in your printing example the filter works even with 1.9.40. 
> I will look into your code.
> 
> Thanks,
> 
> Stefano

I found the reason why yours works and mine not.
In my project is present the component gb.form and
when I "dialog.filter" it opens a QT or KDE (I don't know)
filter dialog. Your project doesn't use gb.form and so
it opens the standard file chooser that works with 
filters. I removed from my project the gb.form component
and now it works. 

Thanks again,

Stefano










> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job 
easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> 




More information about the User mailing list