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

Help with displaying labels that are a control array

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I'm trying to create a form that asks ten questions then dumps the answers into the array. The problem is that I can't figure out how to display 10 different questions (labels that are a control array) one at a time using only one form. Anyone have a suggestion... u can icq me at 109681869 or just reply. Thanks all
nyteryder

 
hi,
.NET doesn't support the concept of Control Array.

You have to add lables at design time or you can add them
at runtime also.

using


dim lbl as new label()
me.controls.add(lbl)
lbl.text = "hello"

you have to reposition controls on the form before call
add method. Reference : see "Location" & "Size" properties







Bye
Imran Make habit of marking posts as helpful or expert post, if they do solve your problems.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top