• 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
north - east - south - west selector using NSMatrix?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

north - east - south - west selector using NSMatrix?


  • Subject: north - east - south - west selector using NSMatrix?
  • From: patrick machielse <email@hidden>
  • Date: Tue, 29 Aug 2006 23:19:30 +0200

I'm trying to implement a control area for selecting a direction (north - east - south - west, or top - right - bottom - left). Only one of these choices can be selected at one time.

My first try was to use an NSMatrix with radio buttons. In IB I created a 3x3 matrix of radio buttons and I disabled and made transparent the buttons at indeces 0, 2, 4, 6, and 8. The problem is that I can still 'select' the buttons at these indexes by clicking on their locations, in which case none of the enabled and visible radio buttons is selected.

Since this type of control seems fairly common, I was wondering what solutions other people are using, and if there is a better way to do it than I'm using now (I suppose so!).

patrick
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: north - east - south - west selector using NSMatrix?
      • From: Ricky Sharp <email@hidden>
  • Prev by Date: Posting commands?
  • Next by Date: Re: Force binding to set variable?
  • Previous by thread: Re: Posting commands?
  • Next by thread: Re: north - east - south - west selector using NSMatrix?
  • Index(es):
    • Date
    • Thread