FROM : Andy Lee
DATE : Thu Jul 03 16:46:07 2008
Do you really need to use an NSImageView? You can use a button that
contains an image instead of text. In IB, open the inspector and
select the Button Attributes tab. You can specify the "Image" and the
"Alt. Image".
--Andy
On Jul 3, 2008, at 6:53 AM, Papa-Raboon wrote:
> Hi all,
>
> I have a method that when run opens a web browser and takes the user
> to a URL and I have figured out how to use a button to call this
> method but if I wanted to click on an image in an NSImageView instead
> then is there something extra i have to do to make the image or image
> view respond to clicks? I just can't seem to figure out how to do it.
> I have tried wiring it up in IB the same way that I wired up the
> button but it doesn't work. The cursor doesn't change at all when I
> hover over the image which leads me to believe it is not allowing
> clicks for some reason.
>
> Cheers
>
> Paul Randall
> _______________________________________________
>
> Cocoa-dev mailing list (<email_removed>)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
DATE : Thu Jul 03 16:46:07 2008
Do you really need to use an NSImageView? You can use a button that
contains an image instead of text. In IB, open the inspector and
select the Button Attributes tab. You can specify the "Image" and the
"Alt. Image".
--Andy
On Jul 3, 2008, at 6:53 AM, Papa-Raboon wrote:
> Hi all,
>
> I have a method that when run opens a web browser and takes the user
> to a URL and I have figured out how to use a button to call this
> method but if I wanted to click on an image in an NSImageView instead
> then is there something extra i have to do to make the image or image
> view respond to clicks? I just can't seem to figure out how to do it.
> I have tried wiring it up in IB the same way that I wired up the
> button but it doesn't work. The cursor doesn't change at all when I
> hover over the image which leads me to believe it is not allowing
> clicks for some reason.
>
> Cheers
>
> Paul Randall
> _______________________________________________
>
> Cocoa-dev mailing list (<email_removed>)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
| Related mails | Author | Date |
|---|---|---|
| Papa-Raboon | Jul 3, 12:53 | |
| Papa-Raboon | Jul 3, 16:23 | |
| Andy Lee | Jul 3, 16:46 |






Cocoa mail archive

