Re: TGFileDialog

Jayoung Wu (jayoung@glue.umd.edu)
Thu, 15 Jul 1999 12:03:11 -0400 (EDT)


In some reason the following email seems not be delivered.
... I send it again.

---
Thanks,
Jayoung

On Wed, 14 Jul 1999, Jayoung Wu wrote:

> Hi Rooters, > > I'm trying to view the files in current directory using TGFileDialog > widget. In some reason the listbox does not show file names but > sub directory names in current directory. I'm running on Dec alpha OSF1 > with root version 2.20. > > ---------------- part of my code --------------- > const char* ADPSMainFrame::OpenConfigFile() > { > > TGFileInfo fi; > fi.fFileTypes = (char **)filetypes; > new TGFileDialog(gClient->GetRoot(), this, kFDOpen, &fi); > return fi.fFilename; > } > > > P.S. In ROOT tutorials "dialogs.C" shows the list of files in list box. > It does not show file list for other directory, for example > test or include .... though. > > > I would really appriciate for the help! > --- > Thanks, > Jayoung > > >