On Mar 10, 2006, at 2:54 PM, Steve Antonakes wrote:

Me.AcceptFileDrop( "image/x-pict")

I do not understand the syntax of the parameter passed to AcceptFileDrop. What is "image" for and what is the "x-" for? I can not find explanations for these in either the User's Guide or the LR.


They wouldn't be in the RB docs, because it's not an RB thing. It's a standardized computer thing that help identify the types of files. If you've ever heard of a MIME type, or seen the phrase "Content- Type" then you've probably run into this before. If you look at the headers of this email, it's probably "text/plain".

it goes "Type/SubType", so, in this case, the file is of type "image" and subtype "x-pict". I don't actually know why the "x-" is there. Not all of the subtypes have it (like "text/plain" or even "image/ jpeg") but if I had to hazard a guess I would say it has something to do with UNIX or X-Windows.

A search produced this list of types, which probably includes any file you'll be working with (and like 50 I've never heard of):

http://www.utoronto.ca/ian/books/html4ed/appb/mimetype.html

HTH,
Ian
_______________________________________________
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