Re: Question about "swappable" views
Re: Question about "swappable" views
- Subject: Re: Question about "swappable" views
- From: Stuart Stanley <email@hidden>
- Date: Tue, 30 Oct 2001 16:32:34 -0600
--On Tuesday, October 30, 2001 2:22 PM -0800 Vince DeMarco
<email@hidden> wrote:
On Tuesday, October 30, 2001, at 01:33 pm, Stuart Stanley wrote:
I want to have a NSOutlineview on the left side of my window with three
columns:
------------------------------------------------------------------------
--- --
!Year Quarter Class ! !
!2000> ! !
! 1> ! X !
! hr1 ! !
! hr2 ! !
.
.
.
(This is a proto-type grading app that I am going to use as a base for
syncing
some stuff to/from my admin system at my wife's school).
What I want to do is have the view area marked with the X change
depending on what is clicked on in the outline view. I.E., if a "year"
field is clicked on, I want a tab view with the ability to put in some
comments, etc.
If a quarter is clicked, I want a tab view that allows the setup of
assignments,
or schedule for attendence. The actuall class would contain a tabview
for grade/attendence/reports, etc.
I would _like_ to use IB for this, but I can't seem to make a NIB that
starts at something "lower" than a full window. Does anyone have any
tips for me on this?
What do you mean "lower" than a full window?? You can drag a custom view
from the palette into the document window and use that. Is that what you
mean??
Mmmm, but that only gives me _one_ view to use. I need to create a
set of "detached" custom views that I can someone make active in the
space to the right of the outline view. I was hoping there was a way
in IB to make a set of NIBs, one for each column that can be clicked
in, but I don't want the item to be a window (just a custom view).
Does that make sense?
BTW, I think I can see how to do this without using NIBs, but they do
seem to be the safest way to go, at least for someone starting out like
me!
vince
--
Life is something set to music; I can hear it | Stuart Stanley
when I'm sad. There's a chord in every muscle, | email@hidden
every kiss you've ever had -- Heather Nova | Cisco Systems, inc
| St Paul, MN
| 612.819.6126