[Gambas-user] Dynamically change picture
Joe Barr
joe at ...1403...
Wed Feb 6 04:49:38 CET 2008
On Wed, 2008-02-06 at 10:36 +0700, Arief Bayu Purwanto wrote:
> 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
>
Thanks!
--
Yes we can!
More information about the User
mailing list