• 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: Programmatically adding an NSTextField to an NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Programmatically adding an NSTextField to an NSTextView


  • Subject: Re: Programmatically adding an NSTextField to an NSTextView
  • From: Keith Bauer <email@hidden>
  • Date: Sun, 9 Feb 2003 18:17:35 +1300

[textField removeFromSuperview];
[textView addSubview: textField];
[textField setFrame:cellFrame];

Well, I've solved my problem. The problem was the removeFromSuperview call. If I remove that, everything works as expected.

If anyone has any ideas why this might be the case, I'd still like to hear them :)

-Keith
_______________________________________________
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.

  • Follow-Ups:
    • Re: Programmatically adding an NSTextField to an NSTextView
      • From: Nathan Day <email@hidden>
References: 
 >Programmatically adding an NSTextField to an NSTextView (From: Keith Bauer <email@hidden>)

  • Prev by Date: Re: Weird problem with array declaration in action
  • Next by Date: Re: Weird problem with array declaration in action
  • Previous by thread: Re: Programmatically adding an NSTextField to an NSTextView
  • Next by thread: Re: Programmatically adding an NSTextField to an NSTextView
  • Index(es):
    • Date
    • Thread