Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21266

How to make an array of Forms

$
0
0
I see that a Form does not have an Index property like controls do so how do I make an array of Forms.

In my VB project I have Form1 and Form2. Form1 is the main processing Form and Form2 is used for image display so Form2 only has a Picturebox on it and no code.

During the run I want to click on a button and each time I do this I want another Form2 to show so on 1st click there is only one Form2 showing and on 2nd click there are two Form2 showing, etc, etc

Viewing all articles
Browse latest Browse all 21266

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>