App a runtime error return to last function, not quit app?

Post Reply
ShumingWang
Posts: 454
Joined: Sun Oct 30, 2005 6:37 am
Location: Guangzhou(Canton),China

App a runtime error return to last function, not quit app?

Post by ShumingWang »

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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Shuming,

You can modify FWH\source\function\errsysw.prg
regards, saludos

Antonio Linares
www.fivetechsoft.com
ShumingWang
Posts: 454
Joined: Sun Oct 30, 2005 6:37 am
Location: Guangzhou(Canton),China

Post by ShumingWang »

Antonio,
Thank you!
Shuming Wang
Post Reply