Re: Combo Box Problem (when using data source)

2008-05-14 Thread Ronny Reichmann
Hi Adil, when you set your combo-box to use a data-source-object, you have to provide this data source object. At the end your data-source should know exactly the number of items. Your are providing the data-source, so you should know the number of items. Am 14.05.2008 um 08:17 schrieb A

Combo Box Problem (when using data source)

2008-05-13 Thread Adil Saleem
Hi, If a combo box is using a Data Source, then how do i programatically get the number of items in that combo box ? If i use [self numberOfItemsInComboBox:myComboBox], it says *** -[NSComboBoxCell objectValueOfSelectedItem] should not be called when usesDataSource is set to YES My question is,