• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: programatically setEditable NSTextField- bug or feature?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: programatically setEditable NSTextField- bug or feature? (From: Sherm Pendley <email@hidden>)

  • Prev by Date: Re: How to get your application 'out there'?
  • Next by Date: Toolbars->NSWindowController
  • Previous by thread: Re: programatically setEditable NSTextField- bug or feature?
  • Next by thread: How to get your application 'out there'?
  • Index(es):
    • Date
    • Thread