Re: how would you allow editing of a combo box's values?
Re: how would you allow editing of a combo box's values?
- Subject: Re: how would you allow editing of a combo box's values?
- From: Cryx <email@hidden>
- Date: Thu, 4 Jul 2002 18:18:23 -0500
On Thursday, July 4, 2002, at 07:31 AM, Ondra Cada wrote:
On Thursday, July 4, 2002, at 03:42 , Cryx wrote:
Now I'd like allow an elegant way to edit the values of a combo box's
menu. I'm currently experimenting with using an outline view
Since the combo menu is not hierarchically structured, would not be
NSTableView more appropriate?
It could be, but let me elaborate what I've done with an outline view:
> key1 | [value]V <- ascii combo box
V group | (2 items)
V key2 | [value]V
| value1
| value2
| value3
> key3 | [value]V
An expanded key currently uses multiple child rows for each value in the
combo menu, but this has really complicated the data source and drag
methods. Ideally I suppose an expanded key could replace the combo box
with a table view... That would cleanly separate the data source and
drag methods.
Is it really feasible/legal to insert a view in a cell?
Daryn
_______________________________________________
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.