[Gambas-user] Use of Dialog.Paths
Steven Lobbezoo
steven at ...1652...
Wed Mar 28 15:36:54 CEST 2007
I use Gambas 1.9.47
In the project I use gb.qt, gb.qt.ext, gb.qt.kde, gb.frm and others,
Part of my .projectfile :
Startup=FMain
Version=0.0.8
Library=gb.db
Library=gb.qt
Library=gb.db.form
Library=gb.form
Library=gb.image
Library=gb.qt.ext
Library=gb.qt.kde
Library=gb.qt.kde.html
Library=gb.report
Library=gb.web
In the mean time, I strat using the native filedialog, that is working quite
well.
My be not so nice graphics, but it works ok.
Steven
Le mercredi 28 mars 2007 16:17, Benoit Minisini a écrit :
> 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
>
> Which version of gambas do you use? Which components do you use in the
> project?
More information about the User
mailing list