• 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
scrollPoint have no effect
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

scrollPoint have no effect


  • Subject: scrollPoint have no effect
  • From: Ivan Myrvold <email@hidden>
  • Date: Thu, 18 Apr 2002 20:36:01 +0200

In a method, I have these lines:

NSPoint punkt = NSMakePoint (0.0, 0.0);

[oscrollView setDocumentView:myImageView];
[oscrollView scrollPoint:punkt];

When the setDocumentView method is called, my image is shown, with the scroll bars scrolled all the way to the bottom.

I thought from the documentation, and from suggestions from some of you, that scrollPoint should scroll the image to the top. But this method call has absolutely no effect on the window. Any better suggestions?

Ivan
_______________________________________________
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: scrollPoint have no effect
      • From: Esteban <email@hidden>
    • Re: scrollPoint have no effect
      • From: "John C. Randolph" <email@hidden>
  • Prev by Date: [ANN] New AppleScript Studio article
  • Next by Date: Re: -[NSView dataWithPDFInsideRect:] leaks
  • Previous by thread: [ANN] New AppleScript Studio article
  • Next by thread: Re: scrollPoint have no effect
  • Index(es):
    • Date
    • Thread