I have questions are:
If I have one shape on the form, and when I run I want to have 5 shapes on my form. What can I do? Can someone help me?
Seyha Eng
0
Newbie Poster
Recommended Answers
Jump to PostIn The Declaration Section Of Your Form (Or In A Module) Add
Dim CCount as Integer
Then in your form_load (or button, or wherever) add this:
CCount = CCount + 1 load shapename(CCount) shapename.Visible = true
That should work. Keep In Mind You'll Probably …
Jump to PostSham,
I beg to differ. While VB.net does offer inheritance... creating a control array takes pages and more code. The actual term "control array" doesn't even account for anything in .NET. Try doing a search of google for "vb.net control arrays" and there are …
Jump to PostMy Pleasure! :)
All 12 Replies
Comatose
290
Taboo Programmer
Team Colleague
sham
0
Light Poster
Comatose
290
Taboo Programmer
Team Colleague
sham
0
Light Poster
Comatose
290
Taboo Programmer
Team Colleague
Seyha Eng
0
Newbie Poster
Comatose
290
Taboo Programmer
Team Colleague
Seyha Eng
0
Newbie Poster
invisal
381
Search and Destroy
Seyha Eng
0
Newbie Poster
invisal
381
Search and Destroy
Comatose
290
Taboo Programmer
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.