Re: NSTabView Question
Re: NSTabView Question
- Subject: Re: NSTabView Question
- From: m <email@hidden>
- Date: Thu, 1 Apr 2004 18:19:41 -0800
On Apr 1, 2004, at 5:48 PM, Bruce Truax wrote:
In my application I would like to use a tab view and I have certain
interface elements like radio buttons and text entry boxes which are
the
same on multiple tabs. Do I need to duplicate these elements and add
unique
IBOutlets for the same item on each tab or is there some way to make an
element with the same IBOutlet appear on say 3 out of 5 tabs? I have
tried
to do this but it does not seem to work.
No, you'll need separate instances for each tab, unless you get clever
and programatically transplant the interface elements from one tab to
another (yuck).
Something to consider (and you probably have) is whether these
interface elements represent the same thing in all tabs, that is, does
changing a setting in one tab change the settings in all tabs? If so,
the interface items should really not live in tabs.
_murat
_______________________________________________
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.