>If I am doing some processing in say KEYPRESS event and at some point, depending on value of some var I want to exit the event, how to do so? I want to come back to the form itself, not release the entire form like I sometimes do.
In some events - for instance, Form.QueryUnload() - you may need to issue a NODEFAULT to forbid the default behavior (in the example, to close the form).
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)