
Place controls during run-time
On Fri, 25 Sep 1998 12:54:38 -0700, "Karl E. Peterson"
Quote:
>Upgrade to VB6. <g>
>--
>[This space intentionally left blank.]
In lieu of upgrading, you might try this:
Dim x%
x = cmdArray.UBound
x = x + 1
Load cmdArray(x)
cmdArray(x).Left = cmdArray(x - 1).Left + 1500
cmdArray(x).Visible = True
Of course, this only helps part of your problem. I don't know of a way
to start with no control on the form at all. This method has a control
which may or may not be visible. The index property is set to 0 to
make a control array, and you dynamically increment the array count,
position, and display the control.
Just my 2, though.