• 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
Tabbing between cells in a complex control
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Tabbing between cells in a complex control


  • Subject: Tabbing between cells in a complex control
  • From: Charles Jenkins <email@hidden>
  • Date: Sun, 31 Jan 2010 15:03:32 -0500

I have defined
* A subclass of NSActionCell named CJIndicatorCell
* A subclass of NSControl named CJDistributionControl

The distribution control will contain more than one indicator cell. I have had no problem designing the control to the point where the cells can draw themselves and the control can manage them and everything displays properly, but the thing I'm not finding in Apple's documentation is how to make the individual cells become part of the responder chain (or at least act like it).

I want to be able to tab from indicator to indicator when the control is on the screen. The purpose is to allow the user to use the keyboard to tab down to one of the indicators and adjust its value with the arrow keys.

I guess another way to state it is that where a normal control takes up ONE position in the responder chain, this control will need to take X positions, where X is the number of indicators it is displaying.

P.S. Is it okay to post one's own source code on this forum for the purpose of getting assistance?
_______________________________________________

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: Tabbing between cells in a complex control
      • From: Graham Cox <email@hidden>
    • Re: Tabbing between cells in a complex control
      • From: Matthew Lindfield Seager <email@hidden>
  • Prev by Date: Re: should I use CALayer .. ?
  • Next by Date: Re: Detect Tap on Word in UILabel?
  • Previous by thread: Re: Crash in NSControl's sizeToFit
  • Next by thread: Re: Tabbing between cells in a complex control
  • Index(es):
    • Date
    • Thread