Atozed Forums
iw.15.0.14 - tiwTreeview issue - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: iw.15.0.14 - tiwTreeview issue (/thread-765.html)



iw.15.0.14 - tiwTreeview issue - joel - 10-24-2018

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';


RE: iw.15.0.14 - tiwTreeview issue - joel - 10-25-2018

(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;


RE: iw.15.0.14 - tiwTreeview issue - kudzu - 10-26-2018

I've logged this to be investigated.


RE: iw.15.0.14 - tiwTreeview issue - Alexandre Machado - 10-30-2018

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?


RE: iw.15.0.14 - tiwTreeview issue - joel - 11-01-2018

(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.