• 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: Setting a target in IB for NSImageView has no effect?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting a target in IB for NSImageView has no effect?


  • Subject: Re: Setting a target in IB for NSImageView has no effect?
  • From: Matt Neuburg <email@hidden>
  • Date: Tue, 9 Jul 2002 08:26:46 -0700

On Sun, 07 Jul 2002 17:49:54 +0200, Pierre-Olivier Latour <email@hidden>
said:

>Apparently, if I set a target in Interface Builder for a NSImageView
>instance, the method does not get called when I click on it. Is this normal
>or did I miss something?
>
>I thought all NSControl subclasses handle the "target/action" feature...

But you do not know without reading the manual what the *user* behavior is
that triggers the action. In the case of NSImageView, the manual says:

>Note that an image view performs its action only when a user drags an
>image to it.

m.
--

matt neuburg, phd = email@hidden, http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Colors and NSUserDefaults
  • Next by Date: Re: Fwd: Apr Dev Tools: Run session aborted: No launchable executable present to run
  • Previous by thread: Re: Tabbing a NSTableView
  • Next by thread: NSOutlineView column sorting
  • Index(es):
    • Date
    • Thread