• 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: Multiple NSComboBox, one dataSource
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple NSComboBox, one dataSource


  • Subject: Re: Multiple NSComboBox, one dataSource
  • From: "Alan Smith" <email@hidden>
  • Date: Sat, 18 Nov 2006 09:57:24 -0500

Something like this:

if (comboBox == myComboBox1)
{
 // Code
}
else if (comboBox == myComboBox2)
{
 // Code
etc, etc.

myComboBoxes are of course IBOutlets hooked to the comboboxes in IB.

Good luck, Alan

--
// Quotes from yours truly -------------------------
"You don't forget, you just don't remember."
"Maturity resides in the mind."
"Silence is the Universe's greatest gift."
"When the World realizes that religion really is unnecessary, then it
shall evolve."
_______________________________________________
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


References: 
 >Multiple NSComboBox, one dataSource (From: "Nicholas Brawn" <email@hidden>)

  • Prev by Date: Unwanted Tasks
  • Next by Date: Re: Non-square (triangular) views
  • Previous by thread: Multiple NSComboBox, one dataSource
  • Next by thread: Unwanted Tasks
  • Index(es):
    • Date
    • Thread