|
-
May 25th, 2000, 07:00 AM
#1
Thread Starter
Hyperactive Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|