If MsgBox("Close?", vbYesNo) = vbYes Then Exit Sub Else Cancel = True End If
Sub OnFormCancel Dim bResult bResult = Application.MessageBox ("Are you sure you want to cancel?", apYesNo, "Cancel?") If bResult = apNo Then ThisEvent.Result = False End If If bResult = apYes Then ThisEvent.Result = True End If End Sub
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.