creating a commandbutton and textbox with the help of coding
creating a commandbutton and textbox with the help of coding
API Declarations
Private WithEvents command As CommandButton
Rate creating a commandbutton and textbox with the help of coding
(1(1 Vote))
Private Sub Form_Load()
Set text1 = Form1.Controls.Add("vb.textbox", "command1")
Set command = Form1.Controls.Add("vb.commandbutton", "text")
text1.Visible = True
text1.Top = 1000
text1.Width = 500
command.Visible = True
command.Caption = "ok"
End Sub
creating a commandbutton and textbox with the help of coding Comments
No comments yet — be the first to post one!
Post a Comment