Change picture box content

  • Thread starter Thread starter Jordi Gou
  • Start date Start date
J

Jordi Gou

Hi,

I have a dialog, which have a picture box with an icon file inside, in my
program. I want to change this icon dynamically with code.

Does anyone knows how I can do it?

Thanks

Jordi
 
Hi,

just replace the icon in picbox->Image with the new one. If it doesn't
show up, post a picbox->refresh().

This should do it.

Martin
 
Back
Top