Alaska Software Inc. - XbpHtmlViewer context menu
Username: Password:
AuthorTopic: XbpHtmlViewer context menu
J.A. Diego KerejetaXbpHtmlViewer context menu
on Wed, 03 Mar 2010 00:03:19 +0100
Has anyone developed a stable way to customize the XbpHtmlViewer 
context menu?

I use the attached code and it works reasonably well. However, sometimes 
(randomly) fails to terminate the application (See the error log).

Regards. Diego

PS:  This is the function where the error occurs:

*****************
PROCEDURE AppQuit
*****************
IF M->oLog <> nil
   M->oLog:addReg( LG_SUC_FIN, LG_DES_APLICACION )
   M->oLog:destroy()
   M->oLog:= nil
ENDIF
IF M->oWTS <> nil
   M->oWTS:destroy()
   M->oWTS:= nil
ENDIF
DBcommitAll()
DBcloseall()
QUIT                       <======= In this line the error occursr
RETURN


ContextMenu.PRG
INTRANET67612.LOG
ContextMenu.png