Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Drag and Drop Problem



OK, I've got a tough one. I've added drap-and-drop capabilities to a tab view item via a custom view in a tab view in a window and that works well in Tiger, the problem is that when run in Panther (it's not an option to have separate versions) I get an immediate NSCannotCreateScriptCommandError (10) triggered by the registration of drag types in the awake from nib handler. Here's the code:



if the name of theObject is "DropZone" then
-- We will register for the following types (altough this example only responds to the "string" type).
tell theObject to register drag types {"string"}
end if


Any ideas why Panther would reject this and not Tiger?

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-studio mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-studio/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.