[Gambas-user] PictureBox problem (Gambas3)

kobolds kobolds at ...2041...
Fri Jan 15 03:45:04 CET 2010


I try your suggestion and this time error show up ("unable to load image")
when i run .

I have few image (png) in that folder with same size . I try few of them and
found that some ok  but some not . 

I can load the all the image from the picturebox properties without any
problem

is this a bugs?



Bill Richman wrote:
> 
> Have you tried:
> 
> picturebox1.Picture = Picture.load(application.path & "/image/back.png")
> 
> If only part of your picture is showing, try setting the "stretch" 
> property of the Picturebox control to "True".
> 
> Bill Richman - Lincoln, Nebraska
> Tilter at windmills, maker of pies in the sky, & curmudgeon
> email: bill at ...2350...  web: www.geektrap.com
> 
> 
> 
> 
> kobolds wrote:
>> I having strange problem with PictureBox to display image. 
>>
>> if I choose the image from picturebox properties , the image show up but
>> when I do it from program , the picture not showing .
>>
>> in the program I do this
>> picturebox1.picture = picture[application.path & "/image/back.png"]
>>
>> I found out that some of my picture is showing but some no. I have not a
>> clue what going on . %-|
>>
>>
>> http://old.nabble.com/file/p27169578/Back.png.tar.gz Back.png.tar.gz 
>>
>>   
> 
> ------------------------------------------------------------------------------
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for
> Conference
> attendees to learn about information security's most important issues
> through
> interactions with peers, luminaries and emerging and established
> companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> 
> 

-- 
View this message in context: http://old.nabble.com/PictureBox-problem-%28Gambas3%29-tp27169578p27171708.html
Sent from the gambas-user mailing list archive at Nabble.com.





More information about the User mailing list