Hi Diptesh,
>How do i suppress message Cannot quit visual Foxpro while
>clicking X button at top right of very first screen ?
Put ON SHUTDOWN CLEAR EVENTS somewhere in you start program. That would exit the read state when the user clicks on the "X"-button. If you have a separate cleanup method, you could call this one instead.
Christof
--
Christof