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

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

Postby ShumingWang » Tue Jan 16, 2007 2: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
ShumingWang
 
Posts: 465
Joined: Sun Oct 30, 2005 6:37 am
Location: Guangzhou(Canton),China

Postby Antonio Linares » Tue Jan 16, 2007 3:49 am

Shuming,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42120
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby ShumingWang » Tue Jan 16, 2007 7:14 am

Antonio,
Thank you!
Shuming Wang
ShumingWang
 
Posts: 465
Joined: Sun Oct 30, 2005 6:37 am
Location: Guangzhou(Canton),China


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 57 guests