• 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
NSComboBox behaves differently under Jaguar and Panther
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSComboBox behaves differently under Jaguar and Panther


  • Subject: NSComboBox behaves differently under Jaguar and Panther
  • From: Marten van Gelderen <email@hidden>
  • Date: Tue, 11 Nov 2003 15:41:07 +0100

Dear List,

I have an app that runs my UNIX bookkeeping commands and displays their output in an NSTextView. The commands go via an NSComboBox. In the internal combo-list I have my simple bookkeeping commands, but sometimes I want to add some UNIX like options (like '-p' or '-j' ) or a period in months (like 1-3, or 1-12) automatically to the selection (as set from another menu). I used to do that using: -comboBoxWillDismiss: and append those options or periods to the string in the textField part of the comboBox.

This worked fine under Jaguar but no longer works under Panther. It seems as if under Panther the comboBox refuses to alter the selection in -comboBoxWillDismiss: the first time. If after the selection is changed, I double click on the button (thus without changing the selection again) the correct expanded text appears in my textField.

Does anybody have an idea what I am doing wrong? Thanks in advance.
--
With best regards, Marten
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Import a jar package in a XCode CocoaJava project...
  • Next by Date: Simple question about Objects and Delegates
  • Previous by thread: Re: Import a jar package in a XCode CocoaJava project...
  • Next by thread: Simple question about Objects and Delegates
  • Index(es):
    • Date
    • Thread