Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Maximum number of controls in a Form (VB)

Status
Not open for further replies.

windows98

Programmer
Nov 3, 1999
39
AU
I am trying to ascertain if VB Version 6.0 has increased the number of controls available in a Form as against Version 4.0 <p>Henry Drillich<br><a href=mailto:drillich@tpgi.com.au>drillich@tpgi.com.au</a><br><a href= > </a><br>
 
All I know is that in version 5, you could have a little over 240 controls on a form. I don't know about version 6.<br>
<br>
Sorry,<br>
T
 
The question was explored earlier this month. Here's a summary.<br>
From Visual Basic Version 6.0 Frequently Asked Questions, &quot;Microsoft Visual Basic 6.0 will allow a total of 255 controls on a form.&quot;<br>
The validity of the statement is suspect since users claim to have added six to eight hundred controls to a single form.
 
Microsoft told me that if you make your controls into an array they only count as one. I tried it and it works.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top