Results 1 to 2 of 2

Thread: custom user control

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Aug 2003
    Location
    Edinburgh, UK
    Posts
    2,773

    custom user control

    I am new at trying to make custom controls.

    Basically, say we have a list of items to "do".
    Each item will be displayed on a custom control.

    Within this. for each item, I want it to be represented by labels and a progress bar against each item.

    Thats fine I guess, so we have a user control with a progress bar. This custom control will sit within another custom control which has the "item name".

    on the main form, it will populate some control with each item and that custom control

    thing is, this "some control" - how can I or what control can i use to populate the main form with that custom control? so for each item it will display the custom control on each row.

    hope this makes sense....

    MVP 2007-2010 any chance of a regain?
    Professional Software Developer and Infrastructure Engineer.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: custom user control

    Check out the DataRepeater in the WFC library in my signature. I've never used it but it's for just that type of situation: multiple instances of a complex template control.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

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