>How I can know that the button was pressured To close of the main window of the Visual FoxPro?
>
>I use version 6.0.
>
>Thanks,
>
>Nilton Paulino
With ON SHUTDOWN you can intercept any attempt to close the application (press on close button, Alt-F4, Task Manager).
Hilmar.
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)