[Gambas-user] Use of Dialog.Paths

Steven Lobbezoo steven at ...1652...
Mon Mar 26 18:21:51 CEST 2007


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




More information about the User mailing list