Itemselected backcolor in listbox

  • Thread starter Thread starter makyland
  • Start date Start date
M

makyland

Hi!

I'm wondering if there is any way to change the backcolor of the selected
item in a listbox. At the moment I have a form with backcolor in white and
some listboxes with border style flat and transparent (no border effect).
Forecolor of font in the different listboxes are different but I would like
to prevent black color from being the backcolor of the selected item. I can't
find any property of the listbox control to change this...

(I can think of different manners to get the same effect -use a continous
form or similar...- but I prefer the way tab, control and arrow keys work in
this case with a listbox, it's much simpler.)

Also: is there any way to change the height of the items in a listbox?

Thank you in advance for your support and help!!!!
 
To my knowledge there isn't a property for this. You can (and probably
realize this) change the backcolor of the listbox to a darker color, and
Access will adjust the color of the selected item. For example, if you if
the listbox has a black backcolor, the selected item will be white.

God Bless,

Mark A. Sam
 
Back
Top