954,557 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

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

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

y2kshane
Light Poster
35 posts since Aug 2010
Reputation Points: 8
Solved Threads: 0
 

What kind of panel?

DaveAmour
Newbie Poster
15 posts since Apr 2010
Reputation Points: 10
Solved Threads: 1
 

can you please elaborate it....

vishalrane
Junior Poster in Training
93 posts since Jun 2011
Reputation Points: 10
Solved Threads: 13
 

System.Windows.Forms.Panel

i meant panel container

y2kshane
Light Poster
35 posts since Aug 2010
Reputation Points: 8
Solved Threads: 0
 
sandeepparekh9
Posting Whiz
367 posts since Dec 2010
Reputation Points: 123
Solved Threads: 71
 

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

Fa3hed
Newbie Poster
17 posts since Jun 2011
Reputation Points: 10
Solved Threads: 3
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: