• 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: IB is confused (or I am :-)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IB is confused (or I am :-)


  • Subject: Re: IB is confused (or I am :-)
  • From: "William H. Schultz" <email@hidden>
  • Date: Sat, 15 Feb 2003 23:37:42 -0500

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.

  • Follow-Ups:
    • Re: IB is confused (or I am :-)
      • From: Rams <email@hidden>
  • Prev by Date: Re: capturing button-clicks on an Image
  • Next by Date: Re: ARCHIVING WITH CIRCULAR REFERENCES
  • Previous by thread: IB is confused (or I am :-)
  • Next by thread: Re: IB is confused (or I am :-)
  • Index(es):
    • Date
    • Thread