Laurie
2017-05-03T18:53:38Z
Hello

Newbie trying to learn the iGrid OCX in Visual Basic 6 (SP3)
igGrid Version 6.50 build 0063
In Windows 10 the grid column heading background is almost invisible

I set the grdData.UseXPstyles to False

Here is the code

grdData.Clear True

grdData.AddCol , "YY-MM-DD HH:MM", 100, igAlignHLeft
grdData.ColHeaderBackColor(grdData.ColCount) = vbBlack
grdData.ColHeaderForeColor(grdData.ColCount) = vbWhite

This works (when compiled) in Windows Server 2003 but not in Windows 7 Pro or Windows 10 Pro
The Development PC is a Windows 7 Pro and it does not work in the IDE

The foreground color changes but
I cannot get the background color to change.

Thank you for any assistance
Laurie
2017-05-08T20:44:14Z
I resolved the issue

Stopped using the iGrid.UseXpStyle property and the igrid.headerbackcolor property.

I now Use

With iGrid.Header
.UseXPStyle = false
.backColor = vbBlack
.ForeColor = vbWhite
End With

This works on all OS platforms.