I put some text in a web list box with carriage return \ line feeds .
The text came out formatted as i expected.
I was wondering what else I could do to enhance the contents within a WebListBox?
@Maurizio R CellPicture
You can add a lot more if you dig into the structure of the weblistbox and how cells are defined.
I have no idea why but i appear not to have CellPicture in my WebListBox.
Type "WebListBox" has no member named "CellPicture"
ListBox1.AddRow(lvs, attr.GEtoString, sps+attr.getDescription, attr.getVR, attr.getVM, attr.getDataSize.ToText, "Pixel Data", "") Dim p As Picture p = RenderImage(img) Dim wp As WebPicture = p ListBox1.CellPicture(0,0) = wp
As an example one thing that you can't use at its full potential is CSS i.e. styles: this is something that also the latest Xojo version simply lack.
The problem is if you want to invest in knowledge or pay someone else for plugins.
54683 - Add WebListBox.CellContainer Method for easy Lists of WebContainers
Feedback Case #54683
WebListBox has the ability to place Text, HTML, and Pictures into WebListBox Cells.
While Scrolling WebContainers make it possible to create a list of WebContainers, it adds complexity in order to manage positioning WebContainers when adding or removing WebContainers. Adding a WebContainer to a Scrolling WebContainer requires finding the top of the lowest item, adding its height, and adding a margin. Removing a WebContainer from a Scrolling WebContainer requires removing the WebContainer, then finding each WebContainer lower than the WebContainer and moving it up based on the height of the removed WebContainer plus the margin.
If WebListBox could hold WebContainers, it would make managing as list of WebContainers a pleasure.
Scrolling WebContainers with Embedded WebContainers
@Brock N The Raw tag helps with basic things, you can hook up the events you embed with a custom WebControlWrapper control if you need. I've also used JQuery to embed container controls inside of listboxes in the past as well.
I'm going to test this soon, but I was wondering if the following idea might work based on your amazing experience...
Do you think that would work?