Page 1 of 1

TeeTree V2

Posted: Mon Mar 06, 2006 2:22 pm
by 7737124
Hi,
I try to run a program with Teetree V2 (developed with V1).

Statement in ClickShape procedure

If Sender.Parents[0].Parents[0].ImageIndex = tiChecked Then...

causes Exception 'EAccessViolation'. What is wrong?

Program is runing with TeeTree V1 nice.

Posted: Mon Mar 06, 2006 10:38 pm
by Tom
Hi,

Can you post more of your code or provide us an example source code showing the behavior.

Are you sure the shape you clicked on has a parent, which on its turn has a parent?

What are you trying to achieve?

Thanks,
tom