Hi
I have a problem with runtimeerror (I am using Delphi XE6)
My code:
try
FScripter.Execute;
except
on e:Exception do
begin
// Here show the E.Message...but nothing
end;
end;
So..
try
FScripter.Execute;
except
ShowMessage('Error'); // works fine !! but I can not get the text of error, row or col, etc
end;
if I try to use the "OnRuntimeError"
procedure TForm1.FScripterRuntimeError(Sender: TObject; var msg: string; row,
col: Integer; var ShowException: Boolean);
begin
MsgError := 'ERROR en Ejecución!. ' + msg;
end;
My global variable MsgError is empty !
Can you help me please ?