Load new image into ImageGadget

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Fangbeast.

I've got two windows opening and the second has a panelgadget. In the second panel, I usually use DrawImage to render the loaded picture but, when you swith to Panel 1 and then back to Panel 2, the image is wiped.

Is there a way of forcing a repaint in the panel or perhaps a way of making an imagegadget that can have a new image loaded into it *AFTER* the imagegadget has been created (I.e, not preloade)??

Fangles