Attract-Mode Support Forum

Attract-Mode Support => Scripting => Topic started by: omegaman on August 17, 2014, 08:43:10 AM

Title: Listbox Question about sel background
Post by: omegaman on August 17, 2014, 08:43:10 AM
Is there a way to make the listbox selection background transparent without setting listbox = visible ? Here is why, I would like to use a mask like in trimm for the selection of text. It gives you a nice effect when using a snap background instead of a solid color. Thanks...
Title: Re: Listbox Question about sel background
Post by: raygun on August 19, 2014, 06:42:57 PM
to clear the selection background it is either

listbox.selbg_alpha = 0;

or

listbox.selbg_alpha = 255;

i forget right now whether it is 0 or 255 that sets it to transparent.

cheers

Title: Re: Listbox Question about sel background
Post by: omegaman on August 20, 2014, 04:23:01 AM
Thanks, I looked in the Docs but couldn't find anything.
Title: Re: Listbox Question about sel background
Post by: raygun on August 29, 2014, 07:06:10 AM
hmm ok I'll check that the docs cover this!