Le 28/10/2015 04:40, adamn...@gmail.com a écrit : > On Wed, 28 Oct 2015 03:16:16 +0100 > Benoît Minisini <gam...@users.sourceforge.net> wrote: > >> Le 28/10/2015 01:21, adamn...@gmail.com a écrit : >>> I have an executable archive that contains several text files with >>> some metadata in them pertinent to that executable. Suffice to say >>> they are text files with a ".def" extension. >>> >>> At run time the user needs to select one of these files to be >>> loaded. >>> >>> Is there some way I can use the standard Dialog.OpenFile to achieve >>> this? i.e. is there some way to make the Dialog.Path a relative path >>> so it will show the files contained in the executable? >>> >>> tia bruce >>> >> >> Files inside archive are not real files anymore, so don't expect to >> select them with a standard file dialog. >> >> -- >> Benoît Minisini >> > > Mmm, so any "elegant" way to allow user to select a "file" inside the > archive.... ? > Actually, in fact is there any way to gba and get the "file" list? > > tia > bruce >
This is not the problem: you can use the Dir() method to browse the archive contents. But you have to write your own selection dialog. Why wanting to use a file selector dialog to select something that is not a true file? -- Benoît Minisini ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user