On Jan 10, 2010, at 16:15, Pavel V Subach wrote:

> How to create Entity with next content:
> 
> schema:
> Center of telecommunication | City
> 
> content:
> 1 | 1
> 1 | 2
> 1 | 3
> 2 | 4
> 2 | 5
> 2 | 6
> 2 | 7
> ... | ...
> 
> for use in two NSComboBox in next rules:
> 
> 1) Choose Center of Telecommunication
> 2) Choose City (restricted list by choosing Center of Telecommunication)

It looks like you should *not* be using NSComboBox for this. A combo box is a 
kind of text field, not a kind of menu. It looks like you want menus.

That implies your entity should have two numeric properties, which represent 
choices from two fixed menus that list the Center of Telecommunication and City 
names that you present to the user.


_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to