- Код: Выделить всё
- Dim Lbl as Label
 Set Lbl = GoodsForm.Controls.Add("Forms.Label.1", "Labl" & i, True).Caption = "test"
вылетает Runtime Error 424: Object Required
а этот код работает нормально
- Код: Выделить всё
- Dim Lbl as Control
 Set Lbl = GoodsForm.Controls.Add("Forms.Label.1", "Labl" & i, True)
 Lbl.Caption = "test"
Почему?



