Listbox color

S

Snurre

HI,

I have a listbox on my form, based on a query. How do I
set color to the first row in the listbox, containing
Colum Headers, both fore and backcolor ?

Snurre
 
D

Dirk Goldgar

Snurre said:
HI,

I have a listbox on my form, based on a query. How do I
set color to the first row in the listbox, containing
Colum Headers, both fore and backcolor ?

I don't think it's possible to do that (though possibly Stephen Lebans
knows a way -- check www.lebans.com ). But you could turn off the list
box's ColumnHeads property and just put labels over the list box to
serve as your column headers. Then you could set the forecolor and
backcolor properties of the labels any way you want.
 
S

Stephen Lebans

Dirk the only method I know if is what you outlined in your post.
:)
--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
Top