Hey guys,
i have an Image view sublassed
script myImageView
property parent : class "NSImageView"
-- How to access the Image from the ImageView i subclassed ?
end script
I tried “my image” but it didn’t work. Do i oversee something obvious?
Hey guys,
i have an Image view sublassed
script myImageView
property parent : class "NSImageView"
-- How to access the Image from the ImageView i subclassed ?
end script
I tried “my image” but it didn’t work. Do i oversee something obvious?
Ok… a little bit more precise:
I have an image view filled with an image directly in IB. I subclassed the image view like above to get some drag and drop features. Works so far.
Now I’d like to change the image from the subclass on drag entered/exited but it seems I cannot address it. The drag entered/exited handles work though.
I have the feeling I just don’t see it…
Use:
my image()
Don’t go skipping the parens.
Sometimes you don’t see the forest cause there are so many trees. Thank you
The problem is that often you can get away without the parens, so it’s an easy habit to slip into.