BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
Private Sub MenuItem2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem2.Click If Not Me.Validate() Then Me.GridControl1.Focus() Return End If ''do your menu stuff MessageBox.Show("Menu stuff") End Sub Private Sub GridControl1_CurrentCellValidating(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles GridControl1.CurrentCellValidating Dim s As String = Me.GridControl1.CurrentCell.Renderer.ControlText Dim d As Double If Double.TryParse(s, Globalization.NumberStyles.Number, Nothing, d) Then If d > 100 Then e.Cancel = True Me.GridControl1.CurrentCell.ErrorMessage = "must be less than 100" End If End If End Sub