This message serves for Google indexing. It only includes the first message of each thread from technical forums. To see the entire thread, the solutions and the technical content related to each message, you need to log in by going to the main page. This can be done at http://www.universalthread.com. If you do not have an account, we encourage you to create one now and start participating in Microsoft .NET and SQL Server related technology forums, just to name a few. Our database contains nearly two millions valuable high end technical messages. Thanks for the generous contribution to everyone who participated on the site so far, including MVP, Microsoft employees and many other well known contributors. The valuable content of the Universal Thread has created a history of 16 years of high end technical content which has helped many consultants, developers and many others in the industry on a daily basis. The site also offers a subscription option that greatly enhances your site experience.


View message
From21/07/1997 11:20:45
Jorge Blanco #029882
Tecred
San José, Costa Rica
To
Gil Velasquez #001171
Gilan Digital
Edmonton, Alberta, Canada


Hi Gilverto i had the same problem with my application and y resolved it in this way:
In main.prg I put this line
on shutdown do salir

and in salir.prg I write this:

cMessageTitle = 'Salir del SIG'
cMessageText = 'Está Seguro que desea salir del SIG?'
nDialogType = 4 + 32 + 256

nAnswer = MESSAGEBOX(cMessageText, nDialogType, cMessageTitle)

DO CASE
CASE nAnswer = 6
CLOSE ALL
RELEASE WINDOWS
RELEASE ALL
SET ESCAPE ON
QUIT
CASE nAnswer = 7
RELEASE WINDOW "Salir del SIG"
ENDCASE

I hope this be usefull for you...
bye.