ricardo
2024-02-21T00:08:35Z
I use iGrid500_10Tec.ocx on Windows 10 64 bits

Even using .UseXPStyles = False I can't change the header font
.flat is Ok, .backcolor is Ok.

See my codes

With gGrid.Header
      .UseXPStyles = False
      .Flat = True
     .Font.Size = 5
    .BackColor = vbWhite
End With

I looked in the documentation for any other possible configuration, but I didn't find it. If anyone has any suggestions, I would be grateful.
Igor/10Tec
2024-02-22T16:31:03Z
In the case of StdFont objects in VB/VBA you can only replace the whole font like in the following example:

Dim oFont As New StdFont
oFont.Name = "Arial"
oFont.Size = 15

With iGrid1.Header
    .UseXPStyles = False
    .Flat = True
    Set .Font = oFont
End With
ricardo
2024-02-22T16:44:33Z
This worked perfectly, thank you very much for the tip