On Jun 05, 2006, at 4:05 PM, Norman Palardy wrote:


On Jun 05, 2006, at 2:02 AM, Sven E Olsson wrote:


On Jun 05, 2006, at 6:04 AM, [EMAIL PROTECTED] wrote:


and second, you've declared a local FileType, and then passed it to AcceptFileDrop. By the time a file is actually being dropped, this local file type will be long gone.

So the asigned 'value' to me.acceptFileDrop is lost ??

It goes out of scope so RB destroys it like it would with any other local variable

The accept file drop does no retain a reference to it
I wrote an example of this interesting behavior a while ago when I came across it

http://great-white-software.com/DynamicFileTypes.zip

Hi and thanks for your response and interest.
Have you checked my example, If it goes out of scoope, then none of my FileType settings should work in the example?

I should take a look at your example...

OS X 10.4.6 Intel RB2006r2
Sven E Olsson
[EMAIL PROTECTED]
http://www.xhtmlsoft.com/dev/realbasic.html



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to