I have always scripted using either the vbScript msgbox or the Arcpad MessageBox interchangeably with no particular preference.At the moment I'm scirpting an Arcpad 8 project and have just noticed that the Application.MessageBox dialog is not modal - you can click on another object on the screen and it will loose focus.Luckily the VbScript MsgBox is modal and seems to work fine in its place.Anyone know if this is by design? Has it been fixed in 10?An example is to paste the following code into a Script dialog and run it with either code. Click on the Script dialog when the message box dialog is displayed to see if its modal.'VbScript Sub OnFormCancel Dim bResult ' comment out either line below to compare messagebox/msgbox behaviour bResult = Application.MessageBox ("Are you sure you want to cancel?", apYesNo, "Cancel?") 'bResult = msgbox ("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 Call OnFormCancel