View previous topic :: View next topic |
Author |
Message |
hartung
Joined: 19 Jan 2008 Posts: 4 Location: Brazil
|
Posted: Sat Jan 19, 2008 10:31 pm Post subject: OpenFileDialog |
|
|
Hello...
I have a function like this:
Code: | package void abrirClick(Object sender, EventArgs ea)
{
scope fileDlg = new OpenFileDialog();
with(fileDlg)
{
filter = FILTRO_ABRIR;
multiselect = true;
if(showDialog() == DialogResult.OK)
{
foreach(string f; fileNames)
{
msgBox(f);
// ...
}
}
}
}
|
It shows a new File Dialog, with multiselect.
If I select one file, it's OK (the path and file name are shown). But when more files are selected, it shows only de file names, without the path. I'm using DFL 0.9.6.01 with DMD 1.024 and Tango 0.99.4.
Is it a bug? Am I doing something wrong? |
|
Back to top |
|
|
Chris Miller
Joined: 27 Mar 2004 Posts: 514 Location: The Internet
|
Posted: Mon Feb 18, 2008 2:27 am Post subject: Re: OpenFileDialog |
|
|
You're right, it looks like Tango changed the FilePath.join function over time; I'll have it fixed in the next snapshot. |
|
Back to top |
|
|
Chris Miller
Joined: 27 Mar 2004 Posts: 514 Location: The Internet
|
Posted: Mon Feb 18, 2008 5:43 pm Post subject: Re: OpenFileDialog |
|
|
Fixed |
|
Back to top |
|
|
|