Trouble is that the warning message appears twice
Code: Select all
' Gambas class file
Public Sub Form_Open()
tbvInvoices.Columns.Count = 3
tbvInvoices.Rows.Count = 5
End
Public Sub tbvInvoices_Click()
tbvInvoices.Edit
End
Public Sub tbvInvoices_Save(Row As Integer, Column As Integer, Value As String)
If IsNumber(Value) Then
Message.Error("only non-numeric")
Return
Endif
tbvInvoices[Row, Column].Text = Value
End
gambas 3.9.2