Re: Dynamically adding tabs during runtime?
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