Re: Multiple windows in a doc based app How-To
Re: Multiple windows in a doc based app How-To
- Subject: Re: Multiple windows in a doc based app How-To
- From: Joseph Jones <email@hidden>
- Date: Sun, 10 Mar 2002 12:25:53 -0800
The simple reason for doing this is that the combo box doesn't look all
that pretty in the middle of the table view. Not to mention that fact
that, to get it to fit I have to pad the cells height by an extra 8
units, which makes the rows look really fat.
joe
On Sunday, March 10, 2002, at 01:31 AM, email@hidden wrote:
So, on the original thread, how do I use a combobox in my tableview to
edit a cell but not have it display all the time?
Well, you have two choices, basically. One, put a combo box into the
view hierarchy when you get clicked on, and pass it the mouseDown:
event so it can continue tracking; remove it when it's done. Or two,
make a subclass of combo box and override its drawRect: method to
overdraw its appearance with your own (but only when it isn't tracking).
However, this seems like a pretty strange thing to do. The user
won't *know* it's a combo box if it doesn't look like one. So...
what? The user clicks in the rightmost area of what appears to be a
normal textfield, and is surprised to find themselves suddenly
selecting from a combo box? If it's a combo box, why don't you want it
to look like one?
I didn't go back and read the whole thread, though, so maybe I'm
missing something; I'm assuming your rephrasing of the question is more
or less complete...
Ben Haller
Stick Software
_______________________________________________
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.
_______________________________________________
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.