Setting a column header italic in MSFlexGrid
Posted on 2000-02-16
I am trying to set a column header of a MSFlexGrid italic when the form loads for the first time. The grid has only one header row and several columns. I have noticed that even if there is only one row, the value of MSFlexGrid.Row =1.However, when I do the following, I get a runtime error on the 3rd line:
1)MSFlexGrid.Row = 0
2)MSFlexGrid.CellFontItalic = True
3)MSFlexGrid.Row = 1
I would like the Row value 1 which is what it originally is but if I set it back to 1 as in line 3, I get a run time error.