[Gambas-user] dialog.filter seems broken

Stefano Palmeri stefanopalmeri at ...152...
Wed Sep 6 15:02:42 CEST 2006


Hi, Benoit.

Running an old project that has a dialog filter with 1.9.40,
I found that the dialog.filter is broken: simply, it doesn't filter.

This code, taken from the help doesn't work:

Dialog.Title = "Choose a file"
Dialog.Filter = ["Picture files (*.png; *.jpg; *.jpeg; *.bmp)", "All files 
(*)"]
Dialog.Path = User.Home
IF Dialog.OpenFile() THEN
  RETURN 
ENDIF

I'm just able to see all files, not filtered image files.

Gambas 1.9.40
KDE 3.4.2

Regards, 

Stefano Palmeri 





More information about the User mailing list