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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HeaderText on DataGrid

Status
Not open for further replies.

stevejones

Programmer
Jul 3, 2002
30
GB
Could anyone tell me how to set the HeaderText in a data grid to be Bold/Underline?

Thanks

 
try this:

Me.dGridComments.HeaderFont = New System.Drawing.Font("Verdana", 8.0F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, CType(0, System.Byte))
 
Thanks vinidel,

This works to underline all the column headers in the data grid. Is there any way individual columns can be identified and have their headertext properties amended?

Also, can mouseover text be added to column headertext?

Many Thanks

Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top