Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

incomplete repainting after updaterowData

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Tree Support
View previous topic :: View next topic  
Author Message
keesp
Guest





PostPosted: Tue Jul 12, 2005 10:06 am    Post subject: incomplete repainting after updaterowData Reply with quote

Hi,

I am currrently developing an application where treenodes are dropped into a virtual tree, which sometimes contain child nodes (i.e branches are dropped into virtual tree).
After the drop, I perform an UpdateRowData() to reflect the changes, but this often has the result that only about two children become visible in the newly added node, and repainting appears to stop. Collapsing and expanding the node, or resizing virtual tree displays the entire branch the way it should be, so apparently the branch was added correctly, but the repainting seems to be incomplete.
Any clues what could cause this and how it could be prevented?

Thanks,

Kees
Back to top
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Wed Jul 13, 2005 12:07 am    Post subject: Reply with quote

You do have to be a bit careful about where you call UpdateRowData from. Calling it from with methods that are ultimately called by VirtualTree events/methods can cause problems because UpdateRowData rebuilds the tree hierarchy - this can be a bit like pulling the rug from under you feet while you are still walking on it.

These sort of problems are very hard to track down without some code - so if you could send a sample project to support@infralution.com we will take a look at it.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Tree Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group