Re: IB is confused (or I am :-)
Re: IB is confused (or I am :-)
- Subject: Re: IB is confused (or I am :-)
- From: Rams <email@hidden>
- Date: Sun, 16 Feb 2003 02:16:23 -0500
Couldn't you just use IB's hierarchal view of instances to make the
connection rather than the icon view? Select the instances tab and
look at the top of the vertical scroll bar. The bottom button will
switch your instances view from icons to a outline. Should be easy
enough from there...
On Saturday, February 15, 2003, at 11:37 PM, William H. Schultz wrote:
I added a Split View to my app, as:
Window
W
W TabView
W T
W T TextField
W T
W T Browser
W T
W T TabView
W T T
W T T Split View
W T T S
W T T S TableView
W T T S
W T T S TextView
The Split View looks real nice and scales wonderfully, but for some
reason, I'm now unable to get IB to connect up to the TextView. It
keeps connecting to the enclosing ScrollView, instead. The Info
window then says:
TextView_FA NSScrollView(NSTextView)
and the app gets some (predictable) nastygrams:
2003-02-15 13:55:00.039 Morinfo[905] Instances of class
NSScrollView
do not respond to selector setFont:
2003-02-15 13:55:01.766 Morinfo[905] Instances of class
NSScrollView
do not respond to selector setString:
Help?
-r
Clearly, connecting to the ScrollView is a bad thing. To make sure
that I don't stick my foot in my mouth, I went and checked the
behavior of IB for my setup (which does not involve a split view,
though). In my experience, ctrl clicking the original object and
moving the mouse *inside* the scroll view hi-lights the item inside.
However, moving the mouse to the border of the scroll view selects the
actual scroll view.
If you can't get this to work, you can use the NSScrollView function
-documentView to programmatically get the view inside.
One other note: I am assuming that to put the split view inside the
scroll view, you selected the split view and chose the menu option
Layout->Make Subviews of->Scroll View. If not, try that method.
Hank
_______________________________________________
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.
_______________________________________________
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.