Private Sub Form_Load()
Dim ctrl1 as control
Set ctrl1 = myfrm.Controls.Add("VB.CommandButton", "Team1", Me)
ctrl1.Visible = True
End Sub
Sub TestClick()
Msg "button clicked!"
End Sub
|
Results 1 to 5 of 5
Threaded View
|
Click Here to Expand Forum to Full Width |