Page 1 of 1

Icons only in first column?

Posted: 03 Feb 2014, 17:36
by Metalpalo
Hi,

I use yout componennt in VB6 project(detail view). What I need is to have icons in listitem and first subitems. In order to achieve this Ive set property ShowSubItemImages to true but this causes indent of text in next subitems.
When users select one item the row iis highlighted but each subitem without icons(IconIndex is not set) contains white(background color I think)square areas before text what is wrong fo me?

Is possible to remove this square areas in remaining subitems like SubItems(2),SubItems(3) ans so on and align texts to the left? I need to have got icons only in first two columns(ListItem as first SubItem)

thanks

Re: Icons only in first column?

Posted: 04 Feb 2014, 07:38
by TiKu
Hi,

As far as I know there is no simple way to circumvent this indent. The only solution that comes to my mind is to custom draw these sub-items. But this is already quite a huge effort.

Regards
TiKu