private void button1_Click(object sender, EventArgs e)
{
fpSpread1.ShowCellErrors = true;
fpSpread1.Sheets[0].Cells[1, 1].Locked = true;
fpSpread1.Sheets[0].SetCellErrorText(1, 1, "ErrorText");
}
private void fpSpread1_CellErrorTextChanged(object sender, FarPoint.Win.Spread.CellErrorTextChangedEventArgs e)
{
listBox1.Items.Add(e.ColumnIndex);
}
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
FpSpread1.ShowCellErrors = True
FpSpread1.Sheets(0).Cells(1, 1).Locked = True
FpSpread1.Sheets(0).SetCellErrorText(1, 1, "ErrorText")
End Sub
Private Sub FpSpread1_CellErrorTextChanged(sender As Object, e As FarPoint.Win.Spread.CellErrorTextChangedEventArgs) Handles FpSpread1.CellErrorTextChanged
ListBox1.Items.Add(e.ColumnIndex)
End Sub