Board index » delphi » Changing the ImageIndex of a TTreeView

Changing the ImageIndex of a TTreeView

Hi!
When I change the ImageIndex of TTreeNodes, I get
an adress Violation.
Why? What can I do?
Thanks,
Colin

 

Re:Changing the ImageIndex of a TTreeView


How did you change the ImageIndex, the Violation error only happens when you
lost a memory area by some times forgot to free the object before your
program finishes.

Did you check if the ImageIndex is valid? or do you have a imagelist
assigned the treeview.

Quote
Colin LAPLACE wrote in message <6cchq7$ai...@peuplier.wanadoo.fr>...
>Hi!
>When I change the ImageIndex of TTreeNodes, I get
>an adress Violation.
>Why? What can I do?
>Thanks,
>Colin

Other Threads