Hello,
Can someone help me with this problem?
I need to create several instances of a Shape control at runtime from 1 original control.
The application requires a new instance of the shape be created when the user pushes a command button. Each new shape will need to insert itself within an array.
Example:
(this doesn't work)
Sub Command1_Click(Index as Integer)
Count = Count + 1
Set BoxShape(Count) = New Shape1
End Sub
The newly generated BoxShape(x) needs to act like any other ordinary Shape control.
I've seen this done in the past, but I can't remember where or how to search of this.
Thanks,
Kenneth K. Whiteman


Reply With Quote
