Re: programatically setEditable NSTextField- bug or feature?
Re: programatically setEditable NSTextField- bug or feature?
- Subject: Re: programatically setEditable NSTextField- bug or feature?
- From: Dave Sopchak <email@hidden>
- Date: Sun, 20 Apr 2003 07:37:22 -0700
drawCellAtIndex: after making them editable did the trick (they're in
an NS Form).
Strange that I didn't have to redraw to get it to change during
disabling editing.
On Saturday, April 19, 2003, at 10:33 PM, Sherm Pendley wrote:
On Saturday, April 19, 2003, at 11:48 PM, Dave Sopchak wrote:
Everything works great , setEditable is set to false, I loose the
depth of the textField, indicating it can't be edited, but when I
switch back to editable, the textField depth stays flat and doesn't
come back unless the field is selected.
Have you tried telling the text field it needs to redraw itself, with
setNeedsDisplay:?
_______________________________________________
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.