Scripting with Design-Time Controls and Script Objects
cancelEvent Property