How can i customize the MS DataGrid Control 6.0 canceled action message box?
For example can I add a custom message instead of just showing "Action is canceled"?
Note: This is a message box that appears when you set Cancel = True to a for example BeforeUpdate event on a DataGrid, like so:
Code:
Private Sub DataGrid1_BeforeUpdate(Cancel As Integer)
Cancel = validateMyData(CStr(DataGrid1.Columns(1).Value))
' If Cancel = -1(True), the message box is displayed saying cannot progress to
' different row if the data is not corrected
' if Cancel = 0(False), i can freely move other row.
End Sub