SD
2011-12-01 10:25:57 UTC
Hello all, hope you can help.
My application loads a window from a nib and then displays it. This
window has a Text View (NSTextView in NSScrollView).
When the window is loaded from a nib using:
[NSBundle loadNibNamed:@"nibfilename" owner:m];
dropping text (using drag and drop) on the NSTextView doesn't work.
It doesn't seem to matter how I show the window once I load the nib.
Have it show via "Visible At Launch", show using
makeKeyAndOrderFront, show using beginSheet.
If I copy the window into my main nib show it, then drag and drop
works fine. Does anyone have any ideas why the drag and drop is
getting killed when I use loadNibNamed.
Thank you.
My application loads a window from a nib and then displays it. This
window has a Text View (NSTextView in NSScrollView).
When the window is loaded from a nib using:
[NSBundle loadNibNamed:@"nibfilename" owner:m];
dropping text (using drag and drop) on the NSTextView doesn't work.
It doesn't seem to matter how I show the window once I load the nib.
Have it show via "Visible At Launch", show using
makeKeyAndOrderFront, show using beginSheet.
If I copy the window into my main nib show it, then drag and drop
works fine. Does anyone have any ideas why the drag and drop is
getting killed when I use loadNibNamed.
Thank you.