i want to trigger a function before closing the Arcpad application , i haven't found any before close event , so i think to make a custom command which will execute a function before closing and close the app. this command will be called from a menu item in Arcpad.apx .
i would like to know if this possible and how to do it , if not is there any possibility to trigger function before closing Arcpad app.