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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to create a control array at runtime in VB

Status
Not open for further replies.

ahsan69

Programmer
Mar 16, 2001
5
CA
I want to create a text box control array at runtime in VB 6. I can manage to create one control but don't know how to create the array. Please help!!!
 
hi,

to create a control array at runtime u have to put a textbox with index property set to zero.

after that u can say

load Text1(1)
load text1(2)

also set the postion of text box after that
make all the test boxes visible by setting the visible propertt to true
eg.. text(1).visible = true
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top