[Gambas-user] Use of Dialog.Paths

Benoit Minisini gambas at ...1...
Thu Mar 29 14:09:56 CEST 2007


On lundi 26 mars 2007, Steven Lobbezoo wrote:
> Hi,
>
> I must be oing something wrong  (again ;-)) :
> ----------------------------------------------------------------
> DIM Mpath AS String
>
>   Dialog.Title = "Selection d'une fichier image"
>   Dialog.Filter =
> ["*.png;*.jpg;*.jpeg;*.bmp;*.gif;*.xpm", "Images", "*.*", "Tous les
> fichiers"]
>   Dialog.Path = User.Home
>   IF Dialog.OpenFile(TRUE) THEN RETURN
>   FOR EACH Mpath IN Dialog.Paths
> --------------------------------------------------------------------
> But Dialog.Paths is allways NULL ??????
> I get files in if I work with PATH only (just one file)
> The dialog box let me select several files, but i'm not getting anything
> in.
>
> Anybody ?
>
> Steven
>

This was a bug in the gb.form component. I just fixed it in the svn trunk.

Regards,

-- 
Benoit Minisini




More information about the User mailing list