• 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
Scroll arrows are not working?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Scroll arrows are not working?


  • Subject: Scroll arrows are not working?
  • From: Mark Dawson <email@hidden>
  • Date: Tue, 05 Sep 2006 16:30:27 -0700

In my app, I have two NSTextViews, one in the main (document) window and one in a drawer.  The main window's scroll errors don't work--they highlight, but have no effect (the thumb DOES work).  The drawer window's arrows DO work.  As far as I can tell, they are setup exactly the same way in IB, and they are modified (to add horizontal scroll bars) in the code the same way:

	[[oMainText enclosingScrollView] setHasHorizontalScroller:YES];
	[oMainText setHorizontallyResizable:YES];
	[oMainText setAutoresizingMask:(NSViewWidthSizable | NSViewHeightSizable)];
	[[oMainText textContainer] setWidthTracksTextView:NO];

	[[oDrawerText enclosingScrollView] setHasHorizontalScroller:YES];
	[oDrawerText setHorizontallyResizable:YES];
	[oDrawerText setAutoresizingMask:(NSViewWidthSizable | NSViewHeightSizable)];
	[[oDrawerText textContainer] setWidthTracksTextView:NO];

What would a reason be for the arrows not to work?

Thanks,

Mark
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Using NSTask and NSPipe to perform a shell script
  • Next by Date: Re: Is it possible that PreferencePane's share "classes name space"?
  • Previous by thread: Re: Is it possible that PreferencePane's share "classes name space"?
  • Next by thread: Unconventional memory leak problem
  • Index(es):
    • Date
    • Thread