by Rahul Chaudhari (1 Submission)
Category: Custom Controls/Forms/Menus
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Tue 13th August 2002
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Load TextBox Control At Runtime
'' Take one text1 and commandbutton on form
'' then copy the textbox and make it array of that textbox
'' after the array created the name of textbox'll B
'' Text1(0) and Text1(1)
'' delete the Text1(1)
'' load as many controls of textbox U want at the
'' time of Running
'' *****************************************
'' [email protected]
'' *****************************************
Private Sub cmdLoad_Click()
Load Text1(1)
Text1(1).Move 200, 1900, 2000, 375
Text1(1).Visible = True
End Sub
Private Sub CMDUnload_Click()
Unload Text1(1)
End Sub