Page 1 of 1

Teetree

Posted: Tue Jul 20, 2010 1:52 pm
by 10045869
Delphi Rad 2007 Enterprise crashes and shutdown when deleting dbtree-component from tabsheet (tons of exceptions).

Same with version 8.01 and 8.07. It occurs on all of our installations of teechart (5 pc).

I can send you small example. Codegear tells me,that this is a problem of Steema Software.

Sincerly

Re: Teetree

Posted: Tue Jul 20, 2010 3:46 pm
by yeray
Hi LIS2009,

Yes please, send us a simple example project we can run as-is and try to explain us the steps we should follow on it to reproduce the problem here.

Re: Teetree

Posted: Tue Jul 20, 2010 4:01 pm
by 10045869
a small example that crashes too.
Please go to tabsheet 'Gespeicherte Würfel' and try to delete it (del)
Exception at adress 4221EF6C in modul Tee811.bpl.
TestDelphi.zip
(26.41 KiB) Downloaded 242 times

Re: Teetree

Posted: Wed Jul 21, 2010 10:45 am
by yeray
Hi LIS2009,

Your project is using some components I don't have here so when I opened it, prompted me a message telling me that TXDBGrid class hasn't been found. After ignoring the error and trying to compile, I had to remove some declarations and the unit XDBGrids from the uses list.
Then I could compile and run the application. I've one to 'Gespeicherte Würfel' tab and I see the following, where doesn't seem to be anything I can remove. And pressing "Del" does nothing.
tree.png
tree.png (52.68 KiB) Viewed 3323 times

Re: Teetree

Posted: Thu Jul 22, 2010 2:17 pm
by 10045869
Please click on the blue part of the form (this is a dbtree with gradient) and try to delete it.

Sincerly Walter

Re: Teetree

Posted: Wed Jul 28, 2010 10:15 am
by narcis
Hi Walter,

Thanks for the example project. I have been able to reproduce the issue here and added it (TV52015051) to the defect list to be fixed. The problem only occurs with some TDBTree controls (DBTreeGCube and DBTreeQuader) and doesn't happen with others (DBTreeDimensionen). I think the problem is related with Layout property but I'm not sure what is causing it exactly. It seems to crash at TCustomDBTree.Notification in TeeDBTree.pas when accessing Layout[t].

A workaround could be manually removing the component editing *.dfm and *.pas files manually.