Re: win32lib TreeView icons

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu