Any StateIndex > 0 works fine... The Imagelists provide an index from 0 and the StateIndexes are suppose to display if > -1
Regards Paul McKenzie Analyst Programmer SMSS Ltd. ----- Original Message ----- From: "Stacey Verner" <[EMAIL PROTECTED]> To: "NZ Borland Developers Group - Delphi List" <[EMAIL PROTECTED]> Sent: Wednesday, March 31, 2004 10:58 AM Subject: RE: [DUG] TreeView.StateIndex > I am a bit unclear as to what IS working. > > Does setting StateIndex to 1 work? > > Stacey > > > -----Original Message----- > > From: Paul Mckenzie [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, 31 March 2004 10:35 > > To: NZ Borland Developers Group - Delphi List > > Subject: Re: [DUG] TreeView.StateIndex > > > > > > I have given up - unless anyone on the list knows an > > answer... I am going with the "dummy" at index 0 :-( > > > > Regards > > Paul McKenzie > > Analyst Programmer > > SMSS Ltd. > > > > ----- Original Message ----- > > From: "Kurt at DBC" <[EMAIL PROTECTED]> > > To: "NZ Borland Developers Group - Delphi List" <[EMAIL PROTECTED]> > > Sent: Wednesday, March 31, 2004 10:25 AM > > Subject: Re: [DUG] TreeView.StateIndex > > > > > > > Paul Mckenzie wrote: > > > > MessageYes. > > > > I have tried: > > > > Setting the StateIndex to 0 at DesignTime in the Image > > Items editor. > > > > Setting the StateIndex to 0 in Code at RunTime. All result in no > > > > Image! > > > > > > > > > > Urr, aargh! > > > This one bites me every time I use a treeview, and I can never > > > remember the result. There is something around setting > > other images as > > > well (like the StateImage is displayed instead of the > > normal image or > > > something) > > > > > > I can only suggest not giving up, you can do it;) > > > > > > Cheers, Kurt. > > > _______________________________________________ > > > Delphi mailing list > > > [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi > > > > _______________________________________________ > > Delphi mailing list > > [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi > > > > _______________________________________________ > Delphi mailing list > [EMAIL PROTECTED] > http://ns3.123.co.nz/mailman/listinfo/delphi _______________________________________________ Delphi mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi
