Itemselected backcolor in listbox

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!!!!
 
M

Mark A. Sam

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top