Re: Combo Box Problem (when using data source)
Re: Combo Box Problem (when using data source)
- Subject: Re: Combo Box Problem (when using data source)
- From: Ronny Reichmann <email@hidden>
- Date: Wed, 14 May 2008 09:20:12 +0200
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 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, how do i get number of objects in a
combo box when it is using data source.
Thanx
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden