I've created a new Activity which is supposed to be like a popup screen asking for CANCEL or PROCEED buttons to be pressed when certain things happen in the main activity.
I want to act on the CANCEL or PROCEED press right after the button is pressed and the popup activity is closed, so I made a sub in the main activity called SortResetResponse, then I try call it like this from the popup activity:
Sub Button1_Click
PopUpResponse = 1
CallSub(Main,"SortResetResponse")
Activity.Finish
End Sub
However a breakpoint in that SortResetResponse sub never gets hit. Any ideas why, or what would be the right way to handle this?