Re: [Gambas-user] define data-variable as record

2009-04-25 Thread Richard Muir-Gladman
Couldn't you just use a class with public attributes? On Sat, 2009-04-25 at 06:17 -0500, M0E Lnx wrote: > Never heard of such a thing. But maybe a variant type of variable will do > what you need > > On Apr 25, 2009 3:57 AM, "juelin" wrote: > > > hello, > it is possible to define a record in

Re: [Gambas-user] Re ferencing existing multiple controls in loops

2009-03-30 Thread Richard Muir-Gladman
On Mon, 2009-03-30 at 13:55 -0700, jbskaggs wrote: > Okay I have a form with say 50 picturebox controls: > > How does one check each controls in a loop? > > So if I wanted to have a big picture box reference each of the previous > pictureboxes > > > In GML I could use this: > > a="PictureBox"

Re: [Gambas-user] SPawing pictureboxs

2009-03-28 Thread Richard Muir-Gladman
I use this code to create my "picture boxes" which are actually buttons. I did this because I couldn't find a click event for a picture box. PRIVATE SUB addPicture(pName AS String, title AS String, id AS Integer) DIM f AS Frame DIM p AS Button f = NEW Frame(scrPictures) f.Text