[Gambas-user] Dynamically change picture

Arief Bayu Purwanto ariefbayu at ...626...
Wed Feb 6 04:36:36 CET 2008


On 2/6/08, Joe Barr <joe at ...1403...> wrote:
>
>
> I've set a PictureBox.Picture to an image in my projet directory.
> During program execution, I want to change to a different image.  How do
> you do that?


 DIM img AS Image
  img = Image.Load(textbox.text)'where textbox.text is absolute path to
image location.
  PictureBox.Picture = img.Picture


-- 
Arief Bayu Purwanto
About : http://about.freelancer.web.id/
Blog : http://bayu.freelancer.web.id/



More information about the User mailing list