FarPoint.Win.Spread.GridLine gl = new FarPoint.Win.Spread.GridLine(GridLineType.Raised, Color.Blue, Color.DarkBlue, Color.LightBlue, 2);
fpSpread1.ActiveSheet.HorizontalGridLine = gl;
textBox1.Text = fpSpread1.ActiveSheet.HorizontalGridLine.HighlightColor.ToString();
Dim gl As New FarPoint.Win.Spread.GridLine(GridLineType.Raised, Color.Blue, Color.DarkBlue, Color.LightBlue, 2) FpSpread1.ActiveSheet.HorizontalGridLine = gl TextBox1.Text = FpSpread1.ActiveSheet.HorizontalGridLine.HighlightColor.ToString()