[12 Feb 2008] Is this a Bug?

Contains all messages from the Hollywood mailing list between 01/2006 and 08/2012
Locked
PEB
Posts: 591
Joined: Sun Feb 21, 2010 1:28 am

[12 Feb 2008] Is this a Bug?

Post by PEB »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Tue, 12 Feb 2008 07:05:37 -0000

If I do this:

Code: Select all

f$=FileRequest("Select Files", "", #REQ_MULTISELECT)
DebugPrint(ListItems(f$))
ListItems() always gives me one too many for the files that I select. Does anyone else have this problem?
User avatar
Clyde
Posts: 351
Joined: Sun Feb 14, 2010 12:38 pm
Location: Dresden / Germany

[12 Feb 2008] Re: Is this a Bug?

Post by Clyde »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Tue, 12 Feb 2008 23:29:18 +0100

Hi there!

At least I can confirm this behaviour ... Seems to be a bug.

Another issue with that: If I open the dialog with I just able to select _one_ or _all_ files (via the button in the right bottom corner), but I can't select 2 or 3 and so on. How do you do that? If I click a file with LMB and then click on another file, this file is selected and the "old" file is deselected ...
Currently using: Hollywood 9 with Windows IDE and Hollywood 9 with Visual Studio Code and hw4vsc
User avatar
airsoftsoftwair
Posts: 5914
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

[15 Feb 2008] Re: Is this a Bug?

Post by airsoftsoftwair »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 15 Feb 2008 20:58:48 +0100
If I do this:

Code: Select all

f$=FileRequest("Select Files", "", #REQ_MULTISELECT)
DebugPrint(ListItems(f$))
ListItems() always gives me one too many for the files that I select. Does anyone else have this problem?
That's not a bug. As documented, the table returned by FileRequest() will always contain a terminating empty string ("") item. Thus, ListItems() returns one more than selected.
Locked