TeeTree V2

TeeTree VCL for Borland Delphi and C++ Builder.
Post Reply
heiner4849
Newbie
Newbie
Posts: 6
Joined: Tue Mar 01, 2005 5:00 am

TeeTree V2

Post by heiner4849 » Mon Mar 06, 2006 2:22 pm

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.

tom
Advanced
Posts: 211
Joined: Mon Dec 01, 2003 5:00 am
Contact:

Post by tom » Mon Mar 06, 2006 10:38 pm

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

Post Reply