• 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
Get wrong tag value from NSPopupButtonCell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Get wrong tag value from NSPopupButtonCell


  • Subject: Get wrong tag value from NSPopupButtonCell
  • From: Reinhard Segeler <email@hidden>
  • Date: Fri, 29 Oct 2010 23:02:07 +0200

Hi,
	Can't get the correct tag value in this way. What's wrong?

NSPopUpButtonCell *testCell = [ [ [ NSPopUpButtonCell alloc] init] autorelease];

	// olPopups is an Outlet to an NSMatrix
	[ olPopups selectCellAtRow:0 column:0 ];

	testCell = [ olPopups selectedCell];

	[ testCell setTag:1000];

testTag = [ testCell tag];

results always in tag == 0, even though the tag value is shown correctly in the debugger.


Thanks

--  Reinhard

_______________________________________________

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: Get wrong tag value from NSPopupButtonCell
      • From: Jonathon Kuo <email@hidden>
    • Re: Get wrong tag value from NSPopupButtonCell
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Re: Dictionary keyed by a few sparse integers?
  • Next by Date: Re: Get wrong tag value from NSPopupButtonCell
  • Previous by thread: Re: Localizing standard alternate menu items in unsupported languages
  • Next by thread: Re: Get wrong tag value from NSPopupButtonCell
  • Index(es):
    • Date
    • Thread