Private tb as Textbox
Public Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
tb = New TextBox
tb.Parent = sender.Parent
Ok to clarify what it is that I need. I need a code that allows me to create a new object perferably a picturebox when I click on the form that i can drag choose colour and resize. Any part of this code will help greatly.
We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.