Dim offset = 200
For i = 0 To Form1.ListBox2.Items.Count - 1
Dim cBox = New CheckBox()
Me.Controls.Add(cBox)
cBox.Location = New Point(80, offset)
cBox.Text = Form1.ListBox2.Items.Item(i)
offset = offset + 50
ListBox1.Items.Add(Form1.ListBox2.Items.Item(i))
Next i
I'm using this code to create a checkbox during runtime.. problem is how can I put checkChanged event in these checkboxes. looking forward for an answer. ASAP.