Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
iw.15.0.14 - tiwTreeview issue
#1
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';
Reply
#2
(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;
Reply
#3
I've logged this to be investigated.
Reply
#4
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?
Reply
#5
(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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)