• 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
nspopupbutton action selections
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

nspopupbutton action selections


  • Subject: nspopupbutton action selections
  • From: Francisco Tolmasky <email@hidden>
  • Date: Sat, 5 Apr 2003 23:07:01 -0800

Ok, I have a pop up menu with some items inside, a separator, and then another item that says "edit..", like this:

+----------------+
something
something 2
something 3

Edit...
+----------------+

When you select edit, a little editor window pops open and you can edit the items within the pop up menu. Now, when you select "Edit..." it should open the window, but not select this item, instead simply go back to the last selection. I tried simply making it choose the last selection after edit is chosen, but its not very nice, you can see the first selection for a split second. Is there any way to make a selectable item with an action but that cant be chosen. Like the nspopupbutton can never say "edit...", only something, something1, or something 2.

Francisco Tolmasky
email@hidden
http://users.adelphia.net/~ftolmasky
_______________________________________________
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.

  • Follow-Ups:
    • Re: nspopupbutton action selections
      • From: Quentin Mathé <email@hidden>
  • Prev by Date: Re: Native Cocoa vs Java performance question
  • Next by Date: FocusRing for view inside an NSScrollView ?
  • Previous by thread: Re: PB "x" icon
  • Next by thread: Re: nspopupbutton action selections
  • Index(es):
    • Date
    • Thread