[Gambas-user] Textbox Methode and TabStrip

ML ml at ...973...
Tue Jun 7 07:19:42 CEST 2005


On 07/06/2005 06:06, BUDI ARIEF GUSANDI wrote:

> 3. How can i load picture into picturebox ? using the following code 
> doesnt work.
> Dim b as new picture
> b.load("img/test.png")
> picturebox1.picture = b
> 
> and picturebox1.picture.load("img/test.png")  doesnt work too.

Try with

dim b as new image
b.load("/path/to/your/file")
picturebox1.picture = b.picture

Ciao,
Piero




More information about the User mailing list