Results 1 to 2 of 2

Thread: Panel inside Usercontrol

  1. #1

    Thread Starter
    Oi, fat-rag! bushmobile's Avatar
    Join Date
    Mar 2004
    Location
    on the poop deck
    Posts
    5,592

    Panel inside Usercontrol

    I have a Panel on a UserControl - and I'd like to be able to drop controls, at design time, on to that Panel when the UserControl is on my form.

    I can drop controls on to my UserControl fine, I just can get them within the Panel - what am I missing?

  2. #2
    Frenzied Member circuits2's Avatar
    Join Date
    Sep 2006
    Location
    Kansas City, MO
    Posts
    1,027

    Re: Panel inside Usercontrol

    The user control link in my signature might help explain it. You cannot access a child controls properties directly. You have to handle them through the parent control.
    Show the love! Click (rate this post) under my name if I was helpful.

    My CodeBank Submissions: How to create a User Control | Move a form between Multiple Monitors (Screens) | Remove the MDI Client Border | Using Report Viewer with Visual Studio 2012 Express

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width