Re: Programmatically adding an NSTextField to an NSTextView
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.