How do I set the transparency of an item using a script and set it to be above or below everything else on the…

How do I set the transparency of an item using a script and set it to be above or below everything else on the desktop?

]]>

7 Commentsto How do I set the transparency of an item using a script and set it to be above or below everything else on the…

  1. Anonymous says:

    < ![CDATA[

    TrianguloY Ah I was looking at the Item reference. Didn’t see the property set reference page. Does the zindex have to be a container then because that method gave a method not set error when i used it on an item?

    ]]>

  2. Anonymous says:

    < ![CDATA[

    James Coyle that’s a function of containers, not of items. You need to run it from the container which have the item

    ]]>

  3. Anonymous says:

    < ![CDATA[

    TrianguloY how do I set the transparency of a panel then? Everything I try throws an error at me. :/

    ]]>

  4. Anonymous says:

    < ![CDATA[

    item.getProperties().edit().setInteger(“i.alpha”,255).commit();

    ]]>

  5. Anonymous says:

    < ![CDATA[

    Yaay it works! I promise I’m usually better at programming than this. 😛

    ]]>

  6. Anonymous says:

    < ![CDATA[

    Hey, don’t worry. We all sometimes are stuck in really easy problems 🙂 the good thing is that they are really easy problems 😛

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *