You probably already know this but:
You can use the treeview that comes with delphi.
Just set the state image to a bitmap that looks like a checked or unchecked
box.

a REALLY basic implementation might be:

   if   treeview1.Selected.StateIndex = 2 then
        treeview1.Selected.StateIndex := 1
   else
        treeview1.Selected.StateIndex := 2;

where 1 and 2 refer to the checked and unchecked images

-----Original Message-----
From: vss [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 4 October 2001 9:55 a.m.
To: Multiple recipients of list delphi
Subject: [DUG]: Treeview with checkboxes


Hi. Does anyone know of any treeview controls that can had checkboxes as 
well as images ?

Thanks, Jeremy Coulter


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to