Re: Windows inside Windows
Re: Windows inside Windows
- Subject: Re: Windows inside Windows
- From: Max Horn <email@hidden>
- Date: Mon, 24 Dec 2001 01:41:17 +0100
At 16:20 Uhr -0800 23.12.2001, John C. Randolph wrote:
On Sunday, December 23, 2001, at 03:49 PM, Jason Moore wrote:
Hello everyone. I am prepareing to write an app that has
multiple views. Instead of using a tabbed view for each view,
i'd like to use a toolbar that when the the user clicks on a
toolbar item the current view in the window is replaced with
the view the user wishes to see. basicly, i'd like my app to
act like the System Preferences app does except i'd like the
toolbar to remain static (at the top of the window). how can i
accomplish this? can i build each view as sepereate windows in
IB, then load them as needed into an NSView that takes up
pretty much all of my main window? if so, how does one load a
window into a view? thanks for all your help.
It sounds like NSTabView is what you want.
Yup, a NSTabView, just with hidden tabs. You then programatically
switch the panes.
Max
--
-----------------------------------------------
Max Horn
Software Developer
email: <
mailto:email@hidden>
phone: (+49) 6151-494890