NSComboBox behaves differently under Jaguar and Panther
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.