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: email@hidden
- Date: Sun, 10 Mar 2002 01:31:43 -0800
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.