Sub page_InputboxResult(returnName As String, result As String)
Select Case returnName
Case "INPUTBOX4"
Select Case result
Case ABM.INPUTBOX_RESULT_CANCEL, ABM.INPUTBOX_RESULT_CLOSE, ABM.INPUTBOX_RESULT_ESC, ABM.INPUTBOX_RESULT_OVERLAY, ABM.INPUTBOX_RESULT_INVALID
' the user did something to close the inputbox without pressing OK. These are all different cases of 'CANCEL'
Case Else
' in the result is now the value or selection the user made, the user pressed OK
End Select
Case "INPUTBOX5"
Select Case result
Case ABM.INPUTBOX_RESULT_CANCEL, ABM.INPUTBOX_RESULT_CLOSE, ABM.INPUTBOX_RESULT_ESC, ABM.INPUTBOX_RESULT_OVERLAY, ABM.INPUTBOX_RESULT_INVALID
' the user did something to close the inputbox without pressing OK. These are all different cases of 'CANCEL'
Case Else
' in the result is now the value or selection the user made, the user pressed OK
End Select
Case "INPUTBOX6"
Select Case result
Case ABM.INPUTBOX_RESULT_CANCEL, ABM.INPUTBOX_RESULT_CLOSE, ABM.INPUTBOX_RESULT_ESC, ABM.INPUTBOX_RESULT_OVERLAY, ABM.INPUTBOX_RESULT_INVALID
' the user did something to close the inputbox without pressing OK. These are all different cases of 'CANCEL'
Case Else
' in the result is now the value or selection the user made, the user pressed OK
End Select
End Select
End Sub