• 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: [GREAT]NSScroller trackKnob
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GREAT]NSScroller trackKnob


  • Subject: Re: [GREAT]NSScroller trackKnob
  • From: email@hidden
  • Date: Thu, 18 Nov 2010 20:51:58 -0700

Works great ... thanks !

Next question ... how do I get called for the buttons (line up down) and the page up down?

-koko





On Nov 18, 2010, at 8:39 PM, Graham Cox wrote:


On 19/11/2010, at 2:30 PM, email@hidden wrote:

Should the action look like this:

- (void)action:(id)sender;

i.e will sender be the NSScroller?


Yes, though if you do this:

- (IBAction) action:(id) sender;

Then it will be visible to IB and you can connect it up there, instead of having to code it. Target/Action is a fundamental Cocoa technique - you really ought to read up on it and have it down pat, you won't get far without knowing it well.

--Graham




_______________________________________________

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


  • Follow-Ups:
    • Re: [GREAT]NSScroller trackKnob
      • From: Graham Cox <email@hidden>
References: 
 >Re: NSScroller trackKnob (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: NSScroller trackKnob
  • Next by Date: Re: [GREAT]NSScroller trackKnob
  • Previous by thread: Re: NSScroller trackKnob
  • Next by thread: Re: [GREAT]NSScroller trackKnob
  • Index(es):
    • Date
    • Thread