• 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: NSSegmentedControl and tags
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSSegmentedControl and tags


  • Subject: Re: NSSegmentedControl and tags
  • From: "Mike R. Manzano" <email@hidden>
  • Date: Wed, 7 Apr 2004 17:06:55 -0700

Oops. Unfortunately, I should have been more specific. The tags are integers, but I have string identifiers for the segments that correspond to identifiers in my model. I would like to get a segment based on the string identifier that I gave it. This identifier should be different than the label, because I assume that setting a label causes the controller to display it.

Mike


On Apr 7, 2004, at 10:03 AM, mmalcolm crawford wrote:

On Apr 6, 2004, at 3:40 PM, Mike R. Manzano wrote:

Is there a way to set a tag or something other than a label for a segment of a control?

Yes:
<http://developer.apple.com/documentation/Cocoa/Conceptual/ SegmentedControl/Articles/SegmentedControlCode.html>
"Tags and Target-Action"

mmmalc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >NSSegmentedControl and tags (From: "Mike R. Manzano" <email@hidden>)
 >Re: NSSegmentedControl and tags (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: Preferences
  • Next by Date: Re: Preferences
  • Previous by thread: Re: NSSegmentedControl and tags
  • Next by thread: Re: Problem linking Framework to my App
  • Index(es):
    • Date
    • Thread