realbasic-nug
[Top] [All Lists]

Re: feedback ID for detecting last file drop?

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: feedback ID for detecting last file drop?
From: Norman Palardy <npalardy at great-white-software dot com>
Date: Wed, 30 May 2007 14:41:11 -0600
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <20070530201837 dot D390575C0EC at mail dot verex dot com>
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>


<Prev in Thread] Current Thread [Next in Thread>