Hi all, I am using vb4-16 and/or vb3. I want to make like a control array of a form to put say 10 of the same form on screen at the same time, in different places on screen. I cant figure this out. any advice?
Thanks,
Dragnut
Create a new form for each instance you want like this:
Assume that the name of the form is Form1.
Dim objForm1 as Form
Dim objForm2 as Form
Set objForm1 = New Form1
Set objForm2 = New Form1
Then all you have to do is move the form or set the left and top properties of them and then you can position them where you like. Snaggs
tribesaddict@swbell.net
2 wire mesh butchering gloves:
1 5-finger, 1 3-finger, pair: $15
or you could create your own collection of forms (which will allow you to add and remove forms from memory without having to decide at design time how many or how few you will require.
For more information see the MS VB6.0 Programming Guide, which for a Microsoft Book, explains thing quite well (probably becuase it doesnt come free with VB)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.