Re: [Gambas-user] SPawing pictureboxs

2009-03-28 Thread jbskaggs
I should have thought a 'Muir" would have come and helped! (I had a an old friend named Ted Muir who allways helped me in a bind- he's passed away now. You couldn't have a better name.) Thanks a bunch! JB Richard Muir-Gladman wrote: > > I use this code to create my "picture boxes" which are

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

[Gambas-user] SPawing pictureboxs

2009-03-28 Thread jbskaggs
I want to be able to spawn a series of indentical pictureboxes then if I click on an individual pixturebox get it to run code for that picturebox. I can genrate the pictureboxes just fine with the =new picturebox but then I cant use the picturebox with Public sub picturebox_mousedown() command as