Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
iw.15.0.14 - tiwTreeview issue
#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


Messages In This Thread
iw.15.0.14 - tiwTreeview issue - by joel - 10-24-2018, 04:28 AM
RE: iw.15.0.14 - tiwTreeview issue - by joel - 10-25-2018, 03:37 AM
RE: iw.15.0.14 - tiwTreeview issue - by kudzu - 10-26-2018, 08:35 PM
RE: iw.15.0.14 - tiwTreeview issue - by joel - 11-01-2018, 05:24 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)