FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour App a runtime error return to last function, not quit app?
Posts: 474
Joined: Sun Oct 30, 2005 06:37 AM
App a runtime error return to last function, not quit app?
Posted: Tue Jan 16, 2007 02:02 AM

Hi,
When we meet app runtime errors,could we return to last called from function intead of quit app?
for example:
Function a1()
define dialog odlg resource "odlg"
redefine button id 101 of odlg action a2()
activate dialog odlg
return

function a2()
local n1:=1/0
// local n1:="aaa"+2
return

Click id 101 button only shows a runtime error ,then return to a1 odlg.
Our customers feel this will be better than quit the app.

Best Regard!
Shuming Wang

http://www.xtech2.top
Mobile:(86)13802729058
Email:100200651@qq.com
QQ:100200651
Weixin: qq100200651
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
App a runtime error return to last function, not quit app?
Posted: Tue Jan 16, 2007 03:49 AM

Shuming,

You can modify FWH\source\function\errsysw.prg

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 474
Joined: Sun Oct 30, 2005 06:37 AM
App a runtime error return to last function, not quit app?
Posted: Tue Jan 16, 2007 07:14 AM

Antonio,
Thank you!
Shuming Wang

http://www.xtech2.top
Mobile:(86)13802729058
Email:100200651@qq.com
QQ:100200651
Weixin: qq100200651

Continue the discussion