2012/4/15 M. Cs. <mohar...@gmail.com>: > OK. I solved it with using Picture.Load(myimage) instead of Picture[myimage]. > > Like in this example: > fView.Add(x, x, Picture.Load(myimage), 0).EnsureVisible this way you not use the cache ... yes it's correct > Is this the correct way? > > Csaba > > 2012/4/15, M. Cs. <mohar...@gmail.com>: >> It happens that I change the pictures of a TreeView items during >> runtime. When I clear the TreeView and repopulate, the pictures >> remains the same, although I did changed the source image used to be >> display. After the restart of the program, the proper new picture is >> shown. >> Is there a way for update during runtime? >> >> Csaba >> > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user
-- Fabien Bodard ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user