• 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: Dynamically adding tabs during runtime?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dynamically adding tabs during runtime?


  • Subject: Re: Dynamically adding tabs during runtime?
  • From: Matt Neuburg <email@hidden>
  • Date: Mon, 10 Jan 2005 16:59:39 -0800

On Mon, 10 Jan 2005 22:13:32 +0100, Lars Forsberg
<email@hidden> said:
>Hi.
>I want to dynamically add new tabs into my NSTabView during runtime.
>Each tab should
>contain a table and some buttons and textfields. Any ideas how to do
>this? I can build
>one such tab in IB, but how do I add more of these during runtime?

.../Cocoa/Conceptual/TabView/Tasks/ManagingTabViewItems.html

A simple approach is to build all the extra tab view items in IB and remove
them as the app starts up, holding them in readiness until needed. m.

--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide
<http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt>



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Dynamically adding tabs during runtime?
      • From: Lars Forsberg <email@hidden>
  • Prev by Date: Slider with 2 knobs
  • Next by Date: NSTableColumn headerTitle Bindings
  • Previous by thread: Dynamically adding tabs during runtime?
  • Next by thread: Re: Dynamically adding tabs during runtime?
  • Index(es):
    • Date
    • Thread