I want to use an external Email component and invoke that with the Email button in the VPE previews in a Dataflex program. The external component is called in a procedure OnVpeBeforeMail. As I understand from the manual, the procedure shall return 1 to cancel the operation, but the code below doesn´t cancel it. How shall it be done?
Procedure OnVpeBeforeMail
If (FIR.SendChilkatmail='Y') Begin
Send Popup to oSendChilkatEmail
Procedure_Return 1
End
Else Begin
//internal E-mail
Bengt