Escape Key and KeyDown Handler

How can I make a form's KeyDown handler respond to the Esc key when
one of the buttons has Cancel set True? I want the handler to respond
first; then the button. The form's KeyPreview is True.

Many thanks.