Re: [DUG]: TTreeview Icons
As well as normal and selected imageindexes, there is also a stateindex which you can use to alter the image displayed in the treeview. Laurence Bevan --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz
RE: [DUG]: TTreeview Icons
-BEGIN PGP SIGNED MESSAGE- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Max Renshaw-Fox Sent: Saturday, 20 March 1999 11:03 To: Multiple recipients of list delphi Subject: RE: [DUG]: TTreeview Icons By "Open" do you mean focused or expanded? Focussed has a separate imageindex Expanded is visual anyway - is it not? If you really wanted to change the "normal" visual cues then OnExpanding / OnCollapsing would provide events to change the imageindex. Expanded is what I mean. Like the left hand pane in explorer where the image changes to an open folder. So then what is the StateImages property used for? The help files are useless. Patrick Dunford, Christchurch, NZ PRO VSM - Human Rights for Students! http://patrick.dunford.com/ -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.0.2i iQEVAwUBNvIqtYQbtaGa2X4LAQHfUAgAhtV3XiL76K/Cc8TvRsQmcxT3K2hze7xE wEn0VnxPXUiwvPweAB0j5cV6nBax0+wSK9aIVd4tx0DiXjF6tTpgD7RgS/U06oBA mnoefysOfZwIA3C7QF+LEkwo92KTUqVumkCdAXaSw4geACU6mvyU9/rdsCloFOP4 BXgC72PqTC0WFv6yC28mUGD4aWTi/nIgu4ZZCd0rPxmwpba+Ym9qAevL7410YsPw tReYSdH+O8pSdRtUWFU+mB4sEsMBfZr11Qy4FLwm7eMrT+pAgxcNDOfA0SSwGypn e64T1IvaWfMbpQ9G15upzlYZLUFRQ9hWqBbV3KrAEUwDR0j5ouBeog== =oOOR -END PGP SIGNATURE- --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz
RE: [DUG]: TTreeview Icons
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Max Renshaw-Fox Sent: Saturday, 20 March 1999 11:03 To: Multiple recipients of list delphi Subject: RE: [DUG]: TTreeview Icons By "Open" do you mean focused or expanded? Focussed has a separate imageindex OK, I got it all figured out now. Ta :) What is the stateimages property used for (still confused) Patrick Dunford, Christchurch, NZ PRO VSM - Human Rights for Students! http://patrick.dunford.com/ --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz