dynamic controls created at runtime with index

I want to create a set of dynamic controls at runtime and have their “ControlSets” set to create an index for them (if that makes sense).

Basically I want to create a dozen buttons going down the screen with a dozen labels, a dozen check boxes etc, and then have each row indexed so that checking any checkbox will all be handled by the same code and use an index to make changes to the other controls.

I just spend a few days in VisualStudio and can’t believe they still don’t have it! They removed control indexes with the deprecation of VB6 which I was surprised about, and a decade and a half later it’s still not possible. I was quite excited when I used xojo the other day and realised the functionality was still here/ported across from the original design.

Anyway, I’d like to create a whole set based on a database entry. I know it will be possible, if someone could point me in the right direction it would be appreciated.

http://documentation.xojo.com/topics/user_interface/desktop/desktop_controls/control_sets.html

i guess VisualStudio got a other solution for it,
in xojo only container controls can not used as control set unfortunately but there you can add a id property and collect them into a list property for easy processing.

excellent, that’s exactly what I was looking for