nspopupbutton action selections
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.