On 30-May-07, at 2:18 PM, joe at strout dot net wrote:
> On May 30, 2007, at 19:48 UTC, Norman Palardy wrote:
>
>> Almost seems that having OpenDocument defined as
>>
>> OpenDocument(items() as folderItem)
>>
>> would be preferable or at least as useful.
>
> Yes, that's one (new-feature) solution that's been proposed in the
> past. The drawback is that it breaks existing code. Another solution
> would be to define it as
>
> OpenDocument(item as FolderItem, allItems() as FolderItem)
>
> for backwards-compatibility, or even something like
>
> OpenDocument(item as FolderItem, moreToCome as Boolean)
>
> although that last parameter should be "moreComin'" but that wouldn't
> be valid syntax.
Right
But, code has been broken before for good reason (changes to
listboxes and the fact that they would draw backgrounds for all
visible rows not just rows with data come to mind)
>> Not sure if you implement the "odoc" apple event handler that you
>> could not intercept the event and figure out how many items there
>> were and deal with it that way.
>
> Yes, I'm pretty sure you can, but I'm looking for a cross-platform
> solution.
Not sure about Windows or linux and whether there isn't some similar
platform API to tell how many items were dropped
Aaron would know about Windows but he's on hi way to California right
now
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|