• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Newbie Question: NSTabView and NSTabViewItem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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/
_____________________________________________________________


  • Follow-Ups:
    • Re: Newbie Question: NSTabView and NSTabViewItem
      • From: Dan Wood <email@hidden>
    • Re: Newbie Question: NSTabView and NSTabViewItem
      • From: John Hörnkvist <email@hidden>
  • Prev by Date: Opening help in Help Viewer
  • Next by Date: Re: Newbie Question: NSTabView and NSTabViewItem
  • Previous by thread: Opening help in Help Viewer
  • Next by thread: Re: Newbie Question: NSTabView and NSTabViewItem
  • Index(es):
    • Date
    • Thread