[Gambas-user] Question array of objects

Bodard Fabien gambasfr at ...11...
Sun Aug 8 09:14:08 CEST 2004


Le samedi 7 Août 2004 22:56, PeTRoK - Reinaldo José M. a écrit :
> Hello everybody.! I'm a new in Gambas, and really like to develop with
> Gambas, and now I'm  developing a system to view another server in web.
> (Just Like Nagios), but using a RegionMap! Is FS! If SomeBody need.!
>
> Well! I Have a problem.! I need use one Array of Objects...And I Don't
> Make.! I Try with code of VB (sorry) but nothing...
>
> Ps..
>
> PictureBox1.Picture.Load("green.png")
>
> I Need this.
>
> PictureBox[i].Picture.Load("green.png")
>


PRIVATE arPictures AS new Object[]

PUBLIC SUB _New()
   
   DIM pic as PictureBox

   For i =0 to 9
	pic = New PictureBox(ME)   '(ME or other container)
	arPicture.Add(pic)
   Next

END

Fabien BODARD


>
> Sorry about the dummy question!
> Thank's
>
> Reinaldo J.
> PeTRoK
> Seja Livre use Linux
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by OSTG. Have you noticed the changes on
> Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
> one more big change to announce. We are now OSTG- Open Source Technology
> Group. Come see the changes on the new OSTG site. www.ostg.com
> _______________________________________________
> 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