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?