Author Topic: Listbox Question about sel background  (Read 1790 times)

omegaman

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 873
    • View Profile
Listbox Question about sel background
« 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...

raygun

  • Administrator
  • Sr. Member
  • *****
  • Posts: 383
    • View Profile
Re: Listbox Question about sel background
« Reply #1 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


omegaman

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 873
    • View Profile
Re: Listbox Question about sel background
« Reply #2 on: August 20, 2014, 04:23:01 AM »
Thanks, I looked in the Docs but couldn't find anything.

raygun

  • Administrator
  • Sr. Member
  • *****
  • Posts: 383
    • View Profile
Re: Listbox Question about sel background
« Reply #3 on: August 29, 2014, 07:06:10 AM »
hmm ok I'll check that the docs cover this!