Page 1 of 1

Stop executing code in an event handler

Posted: Wed Mar 22, 2017 9:23 pm
by billcross
Is there a way to stop executing the code in an event handler before it is completed ? In a subroutine you can simply do a return but there is nothing for an event handler to return to.

Re: Stop executing code in an event handler

Posted: Thu Mar 23, 2017 7:49 am
by Stewart Marshall
You can use RETURN in any routine. When used in an EVTROUTINE processing stops and control is returned to the UI.

Regards