S
Sheldon
In pure VB I can place an object on a form, give it an
index, and then in code copy it, and place it where I
want. Such as
Dim i As Integer
For i = 1 To 5
Load txtAnswers(i)
txtAnswers(i).Top = txtAnswers(i -).Top
+ txtAnswers(i - 1).Height + 100
txtAnswers(i).Visible = True
Next i
This is particularily useful when you don't know how many
copies of the control you need until run time.
I cannot find an index property for a control. How can I
accomplish this in Access VBA code
index, and then in code copy it, and place it where I
want. Such as
Dim i As Integer
For i = 1 To 5
Load txtAnswers(i)
txtAnswers(i).Top = txtAnswers(i -).Top
+ txtAnswers(i - 1).Height + 100
txtAnswers(i).Visible = True
Next i
This is particularily useful when you don't know how many
copies of the control you need until run time.
I cannot find an index property for a control. How can I
accomplish this in Access VBA code