D
Dave
We are needing to create a bunch of rectangle controls on a form, but do not
know how many are needed until run-time. So instead of creating a huge
amount at design time to compensate, we wish to create an array with an
appropriate amount at run time.
How is this done?
We have touched upon various methods as
"CreateObject("Forms.CommandButton.1")", and
"Dim newRectangles(10) as new rectangle"
but have various problems, one of which is assigning a parent control,
namely a form, and generally getting these controls displayed on the screen.
know how many are needed until run-time. So instead of creating a huge
amount at design time to compensate, we wish to create an array with an
appropriate amount at run time.
How is this done?
We have touched upon various methods as
"CreateObject("Forms.CommandButton.1")", and
"Dim newRectangles(10) as new rectangle"
but have various problems, one of which is assigning a parent control,
namely a form, and generally getting these controls displayed on the screen.