Quote Originally Posted by dday9 View Post
There's probably a better way of doing this, such as the built-in data binding feature, but to be honest I'd need a better example of what it is that you're trying to do in order to give you an accurate example. Not that you didn't give us a lot of information, I just don't fully understand the expected end result is all.
So initially I wanted to use the "details" version of a listbox, because I have a list of lots and lots of items over which a bunch of options (all the same ones) can be selected. But I couldn't find an easy way to incorporate a combo box (or, maybe, a set of radio buttons since each combo box will have at most 5 options) into a cell of that. Then I looked at a Datagrid and... it was, tbh, kinda ugly looking. And adding boxes wasn't gonna be easy, there, either.

My programming abilities are... quite limited (though I try to learn more, slowly), and this isn't something that "needs" to happen, it's purely for my own use and just for fun (it's about having an easier way to make these selections for a game). Thus my current solution attempt is to have a bunch of controls on screen and a scrollbar, then just change the contents of the various controls (a label, three combo boxes, two text boxes) to whatever the appropriate data is for where they all should be as the scrollbar moves, allowing change by the user afterwards and updating the data (boolean switch so changing via code doesn't trigger change in the data, just to be safe). It's not as smooth as the listbox or data grid, but seems a bit prettier than the data-grid.

As an example, suppose it's a list of Veggies. Each veggie is named (label) and is by default not included at all, but is otherwise in the salad, grilled, or both (first combo box/radio button set, including 'none' which is the default). If in just one, there's an option for little, some, moderate, lots, or tons (second combo box/radio button set), along with a notes section (first textbox), and if in both a second option set and notes section open up (become active) to deal with that.