Custom user control in scrollable container problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ethan S.

    #1

    Custom user control in scrollable container problem

    Hi everyone,

    I'm working on a small little project of mine and got stuck trying to
    add my own usercontrol into a scrollable object. For example, when a
    download is initiated under Mozilla Firefox, an entry will be added into
    the download window's panel/groupbox/whatever that is.

    Please advise on what object/control to use to accomplish this task. I
    have considered using a panel, but the panel control does not provide
    automatic positioning of my objects, when I add or remove my user
    control. Furthermore, when I created new objects in a for loop and tried
    adding them into an existing panel, they did not show up. For example:

    For intCount = 0 to 10
    Dim objMyObject As New MyUserControl

    objMyObject.Som eProperty = "Some Value"

    pnlExistingPane l.Controls.Add( objMyObject)
    Next

    Any suggestions and help is very much appreciated.

    Thank you.
Working...