• 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: Multiple selected tabviewitems at once?!?!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple selected tabviewitems at once?!?!


  • Subject: Re: Multiple selected tabviewitems at once?!?!
  • From: Alexander Griekspoor <email@hidden>
  • Date: Mon, 4 Nov 2002 10:21:13 +0100

I've found a workaround for the multiple selected tabview items. When
adding the tabviewitems back to the tabview, I select each tabviewitem
once. After that I select the desired tabviewitem to be displayed to
the user:

e = [manufactViews objectEnumerator]; // array with tabviewitems
while ((eObject = [e nextObject])) {
[tabView addTabViewItem: eObject];
[tabView selectTabViewItem:eObject]; // <- select the tabviewitem
}

The results is that now only the proper tabviewitem is selected,
instead of multiple ones.
Still, I believe this is a bug or not? If so, how do I report this to
Apple?

Many thanks in advance,
Alex


Alexander Griekspoor heeft op zondag, 3 nov 2002 om 12:06
(Europe/Amsterdam) het volgende geschreven:

> 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.

  • Follow-Ups:
    • NSOutlineView and tool tips
      • From: Rosyna <email@hidden>
References: 
 >Multiple selected tabviewitems at once?!?! (From: Alexander Griekspoor <email@hidden>)

  • Prev by Date: Re: [Cocoa-Java] Aquataxx source code
  • Next by Date: NSOutlineView and tool tips
  • Previous by thread: Multiple selected tabviewitems at once?!?!
  • Next by thread: NSOutlineView and tool tips
  • Index(es):
    • Date
    • Thread