iw.15.0.14 - tiwTreeview issue

<< Click to Display Table of Contents >>

Navigation:  Forum >

iw.15.0.14 - tiwTreeview issue

Forum link

 


 

10-24-2018, 04:28 AM:

 

I am adding an image to the tiwtreeview and since upgrading from iw14 now the treeview has double icons.

 

This is the code

 

           ItemImages.DocumentImage.Url :=

 

            DU.ImageLocation.WdImageUrl+'icon_user16x16.jpg';

 


 

10-25-2018, 03:37 AM:

 

(10-24-2018, 04:28 AM)joel Wrote: [ -> ]I am adding an image to the tiwtreeview and since upgrading from iw14 now the treeview has double icons.

 

This is the code

 

           ItemImages.DocumentImage.Url :=

 

            DU.ImageLocation.WdImageUrl+'icon_user16x16.jpg';

 

I investigated deeper and find that the issue is that both of the openFolderImage.Url and the ClosedFolderImage.Url are displayed at the same time.

 

and it just happens at the very top level

 

I am using this code to create the treeview

 

   with iwtvUser.Items.Add do

 

     begin

 

       tvUser := iwtvUser.Items.Items[index];

 

       Expanded := true;

 

       ItemImages.OpenFolderImage.Url  :=

 

           DU.ImageLocation.WdImageUrl+'icon_user16x16.jpg';

 

       ItemImages.ClosedFolderImage.Url  :=

 

           DU.ImageLocation.WdImageUrl+'icon_user16x16.jpg';

 

     end;

 


 

10-26-2018, 08:35 PM:

 

I've logged this to be investigated.

 


 

10-30-2018, 09:46 AM:

 

Hi Joel,

 

I tested this scenario but I can't recreate this issue.

 

Are you setting PlusImage or MinusImage properties as well? How is Tree's UseItemImages property set?

 


 

11-01-2018, 05:24 AM:

 

(10-30-2018, 09:46 AM)Alexandre Machado Wrote: [ -> ]Hi Joel,

 

I tested this scenario but I can't recreate this issue.

 

Are you setting PlusImage or MinusImage properties as well? How is Tree's UseItemImages property set?

 

Hi Alexandre,

 

Thanks for looking at it.   I am not using PlusImage or MinusImage properties.  The UseItemImage = true.

 

However, I just created a new project in wi15 and it worked just fine.   Sorry I should have checked that first.

 

I am sure it is something on my side.  I will have to research what is different in my setup.