• 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: ScrollView redraw needed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: ScrollView redraw needed


  • Subject: RE: ScrollView redraw needed
  • From: "Mradul Mandhanya" <email@hidden>
  • Date: Mon, 3 Oct 2005 14:13:29 +0530
  • Thread-topic: ScrollView redraw needed

Not very clear what u want to do but I assume that u want to redraw the
content inside the scroll view ie its document view.

If yes try this

[[scrollViewObject documentView] setNeedsDisplay:TRUE];


Regards,
Mradul Mandhanya

If you want something you've never had, Do something you've never
done....!!!!

-----Original Message-----
From: cocoa-dev-bounces+mmandhanya=email@hidden
[mailto:cocoa-dev-bounces+mmandhanya=email@hidden] On
Behalf Of Jerry Brace
Sent: Sunday, October 02, 2005 10:10 PM
To: Cocoa Dev
Subject: ScrollView redraw needed

I have some code that dynamically changes the positions of some
controls in a NSScrollView. The problem is that it doesn't redraw
when I do this (you can still see the control in the old and new
positions). If I scroll down past the controls and scroll back up it
forces the app to redraw the contents correctly.

I'd like to know how to call a redraw/research after the fields are
re-positioned.

Many thanks,
Jerry
 _______________________________________________
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
 _______________________________________________
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

  • Follow-Ups:
    • Re: ScrollView redraw needed [solved]
      • From: Jerry Brace <email@hidden>
  • Prev by Date: Re: call selector @"mySelector"
  • Next by Date: Re: ScrollView redraw needed [solved]
  • Previous by thread: ScrollView redraw needed
  • Next by thread: Re: ScrollView redraw needed [solved]
  • Index(es):
    • Date
    • Thread