@Brock N Currently I'm doing it like this:dim cc as new MyContainerToEmbed cc.EmbedWithin(self, 0, 0, 20, 20) ListBox1.cellAppendControl(cc, 0, 0) currentControl = cc
The JqeurySelector extension method looks like this:Function JqeurySelector(extends wc as webControl) As String return "$('#"+wc.ControlID+"')" End Function
Keep in mind you will need to include JQuery into your project (add this to the app header "<script src='https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js'></script>") and that if you a dynamically adding and removing content from you listbox after the initial pageload, then you will need to keep references to the ContainerControls you embed in the listbox so you can clear them out of memory when removing a row. This could also be done automatically with a subclass of the WebListBox. Keep in mind this is a hack on the existing Xojo framework and can not be guaranteed to work in all future releases. I also have a jquery library that makes Jquery a lot easier but it's not yet public. But you can essentially do stuff like:
can have a complete sample source, I have trouble creating what is written!!