how to load content of panel to a another panel??

Recommended Answers

What kind of panel?

Jump to Post

can you please elaborate it....

Jump to Post

All 5 Replies

What kind of panel?

can you please elaborate it....

System.Windows.Forms.Panel

i meant panel container

in actually i tried this way

On Error Resume Next
        For Each i As Button In Panel1.Controls
            Panel2.Controls.Add(i)
        Next
        For Each i As TextBox In Panel1.Controls
            Panel2.Controls.Add(i)
        Next
        For Each i As Label In Panel1.Controls
            Panel2.Controls.Add(i)
        Next

it works very well

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.