Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Colour of Column Headings

Status
Not open for further replies.

akinia

Programmer
Nov 23, 2000
69
BE
Hi eveyone

Is there a way to change the column heading of a listbox ?

Thanks for your answers.

 
I think you are asking about changing the color of the caption for a list box correct? If so will this be a static change or dynamic?
 
Hi cranebill

I'm not sure I understand well what you said but when You go in the listbox properties (format), you can select for column heads. I want to know if it is possible to change the back and the fore color of these labels generated by the SQL using VBA ?

 
By heading you mean the text contained beside the textbox, correct?
 
Hi Cranebill,

I've created my listbox using a SQL statement. Here you can get an overview of the result:

ID CompanyN NbEmpl Seller
1 Ardatis 240 Max
2 GialTech 110 Miguel

The first row which is the heading is the row I want to change the colour. They are the field name coming from the query.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top