Re: NSFormatter and the nib
Re: NSFormatter and the nib
- Subject: Re: NSFormatter and the nib
- From: Andy Lee <email@hidden>
- Date: Mon, 24 Jun 2002 11:00:02 -0400
At 9:46 AM -0500 6/24/02, Jim Menard wrote:
In your long explanation, you describe using a 1x1 matrix. It turns out you
don't have to. I can control-drag from the text field onto the formatter
instance.
However, when I try to control-drag from the column header to the text
field, I see the message "dataCell must be of type NSCell". Is that why you
said that the matrix is necessary?
Yeah. Sometimes with nested objects you can "hover" while you
Control-drag and the inner object on the destination end will get
highlighted. This didn't seem to be the case with a plain text
field. I got the same message you did.
After doing that and then making this text field the data cell for a table
column, there is this text field proxy object sitting there in the window.
How would I hide it?
You could put it in its own window and set that window to not
display, which of course just compounds the needless mess since we
have the simpler drag-and-drop solution, but as an academic matter,
the bogus window is something you *could* do to hide a bogus text
field.
--Andy
_______________________________________________
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.