Perhaps "screwed up" is strong, but they have changed for the Windows build and it managed to break some code.

In the IDE, I define a FileTypes class called "FileTypes". It has a file type in it defined as:

        Display Name:   "JPEG Image" (no quotes)
        ObjectName:     JPEGImage
        MacType:        JPEG
        MacCreator:     prvw
        extensions:     ".jpeg;.jpg;.jfif;.jpe" (no quotes)

In Rb2005 and Rb2006r1, if I put this line into an Open event of a RectControl, it would accept dropped jpeg files:

    me.AcceptFileDrop "JPEG Image"

Note that I use the display name. Now, in Rb2006r2, this still works on the Mac but no longer works on Windows builds.

I have no clue what was happening behind the scenes to make this work before, but I suspect it's working differently now. So, what is the correct way to tell a RectControl that I want it to accept jpeg file drops?

Thanks!

-Brad
--
Brad Hutchings
e-mail: [EMAIL PROTECTED]

_______________________________________________
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