Lostfocus check before menu change
Me again here...
I have a small problem...
I have some textboxes some are checked like the code below...
VB Code:
Private Sub Text1_LostFocus()
If Text1.DataChanged Then
MsgBox "Bla"
End If
End Sub
I also have a menu bar which has some actions which loads another form. Problem is I really need the MsgBox when the data is Changed as I need some Yes/No from it to make some calculation.
I don't want Form2 to appear before checked for the Text Change...it can only appear after the text has been checked for a change. Got it? Thanks