View previous topic :: View next topic |
Author |
Message |
morgenweck
Joined: 09 Jun 2010 Posts: 21
|
Posted: Sun Sep 05, 2010 1:31 pm Post subject: cross threading error |
|
|
FYI- I get a cross threading error when using build 3.15.0.0 and set the max height to 120 and have more data than will fit. If I comment out the e.RowData.AutoFitHeight = True then I don't get the error.
I have the VirtualTree on a tab and if I select that tab in debug mode and set focus to the tree and then stop debugging I get the error.
Once I set the row max height property to 0 then it works fine.
Thanks |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Sun Sep 05, 2010 10:42 pm Post subject: |
|
|
What exact exception and error message are you getting?
What is the callstack?
Do you get the error if you aren't debugging?
Virtual Tree doesn't itself create any threads - it just uses the main UI thread. This means that if there is a cross-threading issue occuring it must be as a result of some interaction with your application code. That's where the stack trace may help. _________________ Infralution Support |
|
Back to top |
|
|
morgenweck
Joined: 09 Jun 2010 Posts: 21
|
Posted: Sun Sep 05, 2010 11:11 pm Post subject: |
|
|
As expected- I can't reproduce it either. Of cource it did it every time until I found the max row height property. If it happens again I will copy the stack. FYI- I did not have any in production only in debug and only when I stopped the app. Sorry about that.. |
|
Back to top |
|
|
|