WebListbox: Transparent background possible ?

  1. 7 weeks ago

    Georgios P

    Oct 5 Pre-Release Testers, Xojo Pro Athens, Greece

    Hello,
    I've been wondering if there's a way to make a WebListbox's background transparent.
    I've tried setting the Opacity style property for the entire control but that (unsurprisingly) fades the rows/header content too.
    I just need the whitespace of the control to be transparent, or semi-transparent.
    Is this possible?

    Thanks.

    This thread has some information that may be helpful. I hope Xojo adds the transparency feature with Web 2.0
    https://forum.xojo.com/54855-weblistbox

  2. Paul S

    Oct 5 Pre-Release Testers, Xojo Pro Europe (Netherlands, Den Haag)
    Edited 7 weeks ago

    I'm not sure if it works but you could try to set the background to white and the opacity to zero (FFFFFF00) in the WebStyle.

  3. Georgios P

    Oct 5 Pre-Release Testers, Xojo Pro Athens, Greece

    @Paul S I'm not sure if it works but you could try to set the background to white and the opacity to zero (FFFFFF00) in the WebStyle.

    That would have been too easy :)
    This is precisely what I tried doing and didn't work. If I set the opacity to zero, the WebListbox becomes invisible (which makes perfect sense)

  4. Michel B

    Oct 5 Pre-Release Testers, Xojo Pro
    Edited 7 weeks ago

    It would take an extraordinary amount of work to work in JavaScript around the Weblistbox background color management, in order to get transparency.

  5. Ivan T

    Oct 5 Pre-Release Testers

    Maybe with CSS

    https://forum.xojo.com/23367-tutorial-using-css-in-webapps-to-make-your-webapp-more-beautifu

  6. Alberto D

    Oct 5 Pre-Release Testers Answer

    This thread has some information that may be helpful. I hope Xojo adds the transparency feature with Web 2.0
    https://forum.xojo.com/54855-weblistbox

  7. Georgios P

    Oct 6 Pre-Release Testers, Xojo Pro Athens, Greece

    Case 56364 requests just that and probably is not a very big of an effort for the Xojo team to implement it.
    So, anyone who thinks it's an important feature to have, please support 56364 with your points.

    Thanks Alberto.

or Sign Up to reply!