We help IT Professionals succeed at work.

How to relocate a Panel control to a TableLayoutPanel at runtime

gem56
gem56 asked
on
640 Views
Last Modified: 2008-01-09
Hi guys,
Is it possible to relocate a Panel control from Form.Panel.Controls to Form.Panel.TableLayoutPanel.Controls at runtime.

Thanks,
     Michael
Comment
Watch Question

Fernando SotoRetired
CERTIFIED EXPERT
Distinguished Expert 2017
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
CERTIFIED EXPERT
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
Thanks guys,
webtubbs, your approach is shorter however would that not result in 'Panel1' appearing in both collections whereas FernandoSoto's would only appear in the new collection?

/Michael
Mike TomlinsonHigh School Computer Science, Computer Applications, Digital Design, and Mathematics Teacher
CERTIFIED EXPERT
Top Expert 2009
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
Thanks for clarifying that point Bob.
/Michael
Mike TomlinsonHigh School Computer Science, Computer Applications, Digital Design, and Mathematics Teacher
CERTIFIED EXPERT
Top Expert 2009

Commented:
You're welcome!

For future reference though:

    Idle_Mind --> Mike
    https://www.experts-exchange.com/M_1539809.html
   
    TheLearnedOne --> Bob
    https://www.experts-exchange.com/M_38421.html

;)

Author

Commented:
Ooopps!    
;-)
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.