RobotStudio event

Input and outputs

Hi,
I have a program written with btnres and UIMessageBox. Its for a user menu which takes inputs from the user and calls the function after the user presses the Start push button on the main menu (ICH01). I want to add stop button signal(ICH02) which should be exactly like the stop bbutton on IRC5 controller FLEX PENDENT. But as soon as some one presses the start button again the program should continue from the same point where it stopped.  How can I achieve this one.


Please do let me know.

Bharat Suvarna