Hi
Try the following
procedure SetImage(iIndex: Integer; Node: TTreeNode);
begin
LockWindowUpdate(self.Handle);
tLibExplorer.Items.item[Node.AbsoluteIndex].ImageIndex := iIndex;
tLibExplorer.Items.item[Node.AbsoluteIndex].SelectedIndex := iIndex;
LockWindowUpdate(0);
end;
Groetnis
Johan Fourie
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
DISCLAIMER:
Everything in this email and its attachments relating to the official business
of arivia.kom is proprietary to arivia.kom. It is confidential, legally
privileged and protected by law. The person addressed in the email is the sole
authorised recipient. Any unauthorized dissemination or copying of this e-mail
(or any attachment to this e-mail) or the wrongful disclosure of the
information herein contained is prohibited.
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi