[Gambas-user] How can I flush the image cache?

M. Cs. mohareve at ...626...
Sun Apr 15 19:53:45 CEST 2012


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
Is this the correct way?

Csaba

2012/4/15, M. Cs. <mohareve at ...626...>:
> 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
>




More information about the User mailing list