Basicly it would clone the other tabpage and name it a new one .
but i dont know how to code the new buttons.
my code is :
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim nt As New TabPage Dim nb As New Button nt.Parent = TabControl1 nb.Parent = nt nb.Text = "Click me" End Sub
but i want to code nb (new button ^)
heres what i tried
Private Sub nb_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles nb.Click 'PREFORM ACTION End Sub
and guess what it didnt work . By the way i do know that i didnt actually put an action i did before
any help if you understood any of the above?