Re: ScrollView redraw needed [solved]
Re: ScrollView redraw needed [solved]
- Subject: Re: ScrollView redraw needed [solved]
- From: Jerry Brace <email@hidden>
- Date: Mon, 3 Oct 2005 07:09:16 -0230
Thanks! - That solved the problem.
Jerry
On 3-Oct-05, at 6:13 AM, Mradul Mandhanya wrote:
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:
40quark.com
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