• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSImageView not responding to clicks.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSImageView not responding to clicks.


  • Subject: Re: NSImageView not responding to clicks.
  • From: Andy Lee <email@hidden>
  • Date: Thu, 3 Jul 2008 10:46:07 -0400

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@hidden)

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:
This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


References: 
 >NSImageView not responding to clicks. (From: Papa-Raboon <email@hidden>)

  • Prev by Date: Re: NSImageView not responding to clicks.
  • Next by Date: Re: Methods that return autoreleased objects?
  • Previous by thread: Re: NSImageView not responding to clicks.
  • Next by thread: Re: Methods that return autoreleased objects?
  • Index(es):
    • Date
    • Thread