Results 1 to 4 of 4

Thread: [2003] Making a collection Browsable in the designer.

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2005
    Location
    Lancashire UK
    Posts
    375

    [2003] Making a collection Browsable in the designer.

    I'm making a user control that builds up the user interface dynamicaly depending on the number of 'elements' that are selected within the designers properties panel.

    Each 'element' can have a number of associated items (thinking like the toolbar controls button collection) that can be set at design time via the properties panel.

    The question is I know how to add single properties to the design time panel but how would you implement something like the button collection ?
    If my post helps , please feel free to rate it

  2. #2

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2005
    Location
    Lancashire UK
    Posts
    375

    Re: [2003] Making a collection Browsable in the designer.

    Anybody know if this is possible ?
    If my post helps , please feel free to rate it

  3. #3
    Fanatic Member
    Join Date
    Feb 2007
    Location
    Eindhoven
    Posts
    828

    Re: [2003] Making a collection Browsable in the designer.

    I'm not sure this is what you're asking, but a collection is a group of single elements. You can add each button from the collection as a single elt.

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2005
    Location
    Lancashire UK
    Posts
    375

    Re: [2003] Making a collection Browsable in the designer.

    The basis of this is a user control I'm making that mimics the outlook sidebar, it allows the user to sepcify the number 'elements' (buttons) and the associated properties e.g text it then dynamically creates the number of required controls.

    Each 'element' will have a collection of items associated with it that are displayed when the button is selected, the question is can this be done via the design time properties window ?

    I'm thinking along the lines of the toolbar control that has a buttons collection associated with it.

    This allows buttons to be added to the control and properties set individually, I'd just need to extend this a little to include a collection to hold the items.

    The question is how do I invoke the popup properties window you get when you edit a collection at design time.

    Sorry if this is a bit confusing.
    If my post helps , please feel free to rate it

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