Re: win32lib TreeView icons
- Posted by Martin Stachon <martin.stachon at worldonline.cz> Mar 29, 2002
- 405 views
From: "Salix" <salix at freemail.hu> > I use Judith's IDE pretty often. I never thought that the TreeView of > the Project View window uses icons because I never saw them. But one day > they appeared for me suddenly. if you look into IDE_ProjectView.ew, you'll see the lines: constant closefolder = addIcon( extractIcon( "clsdfold.ico" ) ), openfolder = addIcon( extractIcon( "openfold.ico" )) ... folders &= addTVItem( TV, closefolder, openfolder, "Forms", 0 ) ...etc. However the icons aren't in the IDE package. I think Judith took TV code from some win32lib example and she forgot to remove the lines. I guess you put files clsdfold.ico and openfold.ico somehow into your IDE directory, and the icons appeared. Quick fix: constant closefolder = 0, openfolder = 0 -- Martin