Could you add the chr(10) into the displayed error message?
It will make the CTRL+C to Copy/Paste work better when pasting the message.
Since Windows 2000, a VFP MessageBox() can be copied to the clipboard with CTRL+C.
lcError = "A FoxcodePlus error has occured." + chr(13) + chr(10) + ;
"Error: " + transform(plnError) + chr(13) + chr(10) + ;
"Method: " + plcMethod + chr(13) + chr(10) + ;
"Line: " + transform(plnLine) + chr(13) + chr(10) + ;
"Message: " + message()
Comments: ** Comment from web user: mk_common **
It will make the CTRL+C to Copy/Paste work better when pasting the message.
Since Windows 2000, a VFP MessageBox() can be copied to the clipboard with CTRL+C.
lcError = "A FoxcodePlus error has occured." + chr(13) + chr(10) + ;
"Error: " + transform(plnError) + chr(13) + chr(10) + ;
"Method: " + plcMethod + chr(13) + chr(10) + ;
"Line: " + transform(plnLine) + chr(13) + chr(10) + ;
"Message: " + message()
Comments: ** Comment from web user: mk_common **
We can include "Message(1)" to know the program source code that caused the error.
warm regards,
mk.