Multiple selected tabviewitems at once?!?!
Multiple selected tabviewitems at once?!?!
- Subject: Multiple selected tabviewitems at once?!?!
- From: Alexander Griekspoor <email@hidden>
- Date: Sun, 3 Nov 2002 12:06:22 +0100
Hi all,
I think I've encountered a bug while working with a tabview. I have the
following situation:
I would like to present some info about enzymes in a tabview, such that
each manufacturer gets it's own tabviewitem. All tabviewitems are
stored in an array. Upon selection of the enzyme from the tableview, I
start by removing all tabviewitems. Next, I check whether each
manufacturer produces the enzymes, and if so, I add it's tabviewitem
back to the tabview. Finally, I select either the tabview of the
preferred manufacturer (preference) or, if that one doesn't produce the
enzyme, the first tabviewitem. This works great, BUT, when I select a
couple of enzymes from the tableview and let the tabview updates
itself, I sometimes end up with multiple (2-3) selected tabviewitems
(i.a.w. multiple blue tabs) !?!? Is this a bug in the tabview code, and
if so, is there a workaround? If not, have I overlooked something? I
did try an extra [tabview setNeedsDisplay: YES] but that didn't help.
It occurs both when using [tabView selectTabViewItemWithIdentifier:
@"Amersham"] and using [tabView selectFirstTabViewItem: self] to select
the tabviewitem.
Does anyone have a clue? It would be more than appreciated.
Sincerly,
Alex
****************************************
Try LabAssistant. Organize your life!
http://www.mekentosj.com
****************************************
_______________________________________________
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.