Cancelling Rendering of Report in VFP 9.0 when ESC is pressed

Hi All,

I want to quit the rendering of report in the middle of its work in VFP 9.0 using report listeners when Escape Key is pressed.

i tired using the SET ESCAPE ON and ON ESCAPE i was not sucessfull.

Please advice me in this.

Thanks in Advance

Thanks

Venkatram




Answer this question

Cancelling Rendering of Report in VFP 9.0 when ESC is pressed

  • Juliusz

    I am not very sure. i think it can be simply done with

    set escape on

    on escape do exitprg

    proc exitprg

    clos all

    clear

    return

    the above works in foxpro on dos and foxpro for windows.



  • Cancelling Rendering of Report in VFP 9.0 when ESC is pressed