RE: Updating an NSView
RE: Updating an NSView
- Subject: RE: Updating an NSView
- From: "Jonathan E. Jackel" <email@hidden>
- Date: Mon, 5 Jan 2004 11:43:54 -0500
Since you are already programmatically constructing your view, why not
create a new view with your new textfields, and then swap out your old view?
Jonathan
>
-----Original Message-----
>
From: email@hidden
>
[mailto:email@hidden]On Behalf Of Shoaib
>
Sent: Monday, January 05, 2004 11:12 AM
>
To: email@hidden
>
Subject: Updating an NSView
>
>
>
I have an NSView that is constructed programmatically and then added to a
>
NSScrollView. The NSView contains several NSTextFields. When I need to
>
update the NSView to contain a different number of NSTextFields, I remove
>
all of its subviews and then add the new NSTextFields.
>
>
The issue I'm running into is the NSView flickers during the update. Is
>
there a way so the update is smooth and flicker-free?
>
_______________________________________________
>
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.
_______________________________________________
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.