[Gambas-user] Picture Viewer Project

Bodard Fabien gambasfr at ...11...
Mon Mar 14 19:36:24 CET 2005


Le lundi 14 Mars 2005 16:03, Michael Sullivan a écrit :
> I'm working on a small Picture Viewer project.  The form consists of a
> large PictureBox and a listbox that lists files from a directory.  I
> want the PictureBox to show the picture the user selects from the
> fileList, but I can't figure out how to do it.  When the user selects a
> filename from the list box, that filename is assigned to a string.  Can
> anyone give me the exact syntax for loading a picture file from a string
> filename?  I looking in the docs; they mentioned a Load subroutine, but
> I can't figure out how to use it...


MyPicture.Load("path")



> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user





More information about the User mailing list