How to capture the Cancel Event on the AddressEntry Details Method using Redemption

M

Mita Garg

Hi All,


I display the details of the AddressEntry Object using Details method.
I get the properties dialog box. The properties dialog box has both OK
and Cancel button. How do I capture the Cancel event? I am doing
something like this, but it never goes inside that loop.


Dim objRedemAdressEntry as Redemption.AddressEntry
Set objRedemAdressEntry = ……………..
objRedemAdressEntry.Details

if (Err.Number <> CdoE_USER_Cancel) then
MsgBox "1"
Else
MsgBox "2"


It always display "1" whether I select "Ok" or "Cancel". Where as
when I use Cdo object it is doing the correct thing.


Will really appreciate your help.
Tks Mita
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top