|
Infralution Support Support groups for Infralution products
|
View previous topic :: View next topic |
Author |
Message |
keesp Guest
|
Posted: Tue Jul 12, 2005 10:06 am Post subject: incomplete repainting after updaterowData |
|
|
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
|
Posted: Wed Jul 13, 2005 12:07 am Post subject: |
|
|
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 |
|
|
|
|
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
|