You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to QtContribs
Hi Pritpal, Iwould like to proposeto youa patchforhbqt_errorsyssource. from line 161 to 166 revised as nChoice := hbqt_messageBox( cMsg, NIL, "HBQT Runtime Error", QMessageBox_Critical, oError )
IF nChoice == QMessageBox_Abort // this make the difference; break means returns oError object to the recover procedure (CLIPPER) // BREAK( oError ) ELSEIF nChoice == QMessageBox_Retry RETURN .T. ELSEIF nChoice == QMessageBox_Ignore RETURN .F. ENDIF
IF hbqt_IsActiveApplication() QApplication():closeAllWindows() QApplication():exit( 1 ) END IF
ErrorLevel( 1 ) QUIT
RETURN .F.
Then the revised static procedure hbqt_messageBox STATIC PROCEDURE hbqt_messageBox( cMsg, cInfo, cTitle, nIcon, oError ) LOCAL oMB LOCAL nButtons LOCAL nReturn