Try something like...
for i = 0 to iSongCount - 1
Set cmdButton = Controls.Add("VB.CommandButton", "cmdButton")
With cmdButton
.Caption = "&Main Menu"
.Left = 500
.Top = 100
.Width = 2000
.Visible = True
End With
|
Results 1 to 2 of 2
Thread: ControldThreaded View
|
Click Here to Expand Forum to Full Width |