VB Code:
Option Explicit Private closedByApp As Boolean Private Sub Command1_Click() closedByApp = True Unload Me End Sub Private Sub Form_Unload(Cancel As Integer) If Not closedByApp Then MsgBox "Someone clicked the x !" End Sub
|
Results 1 to 27 of 27
Thread: Problems with arrowkeysThreaded View
|
Click Here to Expand Forum to Full Width |