Anyone please give an idea on how to create text box & label control during run time... Anyone pls..
xirosen 0 Light Poster
Recommended Answers
Jump to PostHi,
Please find the code below to create VB Controls/Array of Controls Dynamically
Dim ControlArrayCOunt As Integer
Dim txtControlArray() As TextBox
Private Sub Create_Control()
On Error GoTo aDim txtControl As TextBox
Set txtControl = Controls.Add("VB.TextBox", "txtControl")
txtControl.Top = 300
txtControl.Left = 200
txtControl.Visible = True
Exit Sub…
All 4 Replies
abu taher 34 Practically a Posting Shark
xirosen 0 Light Poster
maheshsayani 0 Light Poster
abu taher 34 Practically a Posting Shark
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.