Newbie Question: NSTabView and NSTabViewItem
Newbie Question: NSTabView and NSTabViewItem
- Subject: Newbie Question: NSTabView and NSTabViewItem
- From: William Jamieson <email@hidden>
- Date: Wed, 09 May 2001 12:41:21 +1000
Hello All!!!
I have just started to get stuck into developing Java Cocoa applications for
the Mac OS X environment. My first project is redeveloping the
FaceSpan/AppleScript server maintenance application I built last year so
that I know what I am trying to achieve.
In this application I have a preferences window with a NSTabView to break up
the various sections of the preferences window (5 tabs in total). I have
written a method which can tell which tab has been selected by using my app
controller as the delegate for the NSTabView.
What I've spent the last 2 days researching and can't figure out is how can
I display and hide the information on the different screens when the user
changes the selected tab. For example:
1. The user is currently on tab 1 and the screen shows all the fields and
info relevant to the first tab.
2. Then the user clicks on tab 2.
How do I hide all the fields and info relevant to the first tab and the show
all the fields and info relevant to the second tab????
I have looked through all the docs, examples, sample code and apple web
pages I can find and still cannot find an answer.
Any help would be greatly appreciated!!!!!!
Regards
William Jamieson
Systems Developer
Smart Works Systems
_____________________________________________________________
113 Ferrars St Phone: 03) 9696 6851
Southbank Fax: 03) 9690 0092
VIC 3006 Mobile: 0412 715 735
Australia Email: email@hidden
WWW:
http://www.smartworks.com.au/
_____________________________________________________________