|
-
Apr 8th, 2007, 05:23 PM
#1
Thread Starter
Hyperactive Member
[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 
-
Apr 10th, 2007, 02:30 AM
#2
Thread Starter
Hyperactive Member
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 
-
Apr 10th, 2007, 02:35 AM
#3
Fanatic Member
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.
-
Apr 10th, 2007, 04:33 AM
#4
Thread Starter
Hyperactive Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|