• 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
Re: shouldSelectTabViewItem called twice
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: shouldSelectTabViewItem called twice


  • Subject: Re: shouldSelectTabViewItem called twice
  • From: Frode <email@hidden>
  • Date: Tue, 27 Jun 2006 11:13:03 +0200

Part 2 of 3

STEPS TO REPRODUCE THE BEHAVIOUR

1. Create a new Cocoa Document Application

2. In Interface Builder, create a NSTabView

3. Create a NSButton checkbox in the first pane. Set its text to "Lock and don't allow switching".

4. Create a previous and next button. Place them outside the tab-view of course.

5. Connect NSTabView's delegate outlet to the MyDocument

6. Create the following outlets for MyDocument and connect them to their respective objects
• checkbox1 (connect to the check box in step 3)
• previousButton (connect to the previous button in step 4)
• nextButton (connect to the next button in step 4)
• mainWindow (connect to the NSWindow)


7. Connect the following actions
• NSTabView's action selectPreviousTabViewItem to the previous button
• NSTabView's action selectNextTabViewItem to the next button



_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >shouldSelectTabViewItem called twice (From: Frode <email@hidden>)

  • Prev by Date: shouldSelectTabViewItem called twice
  • Next by Date: Re: shouldSelectTabViewItem called twice
  • Previous by thread: shouldSelectTabViewItem called twice
  • Next by thread: Re: shouldSelectTabViewItem called twice
  • Index(es):
    • Date
    • Thread