OWC10 - EndEdit cancel.value = true

K

Krishna

Hi,

My Internet explorer crashes with this error message

Microsoft Visual C++ Runtime Library

Runtime Error!

Program: C:/programfiles\Internet Explorer\iexplore.exe

R6025
- Pure Virtual function call

This always happens when ever I give Cancel.Value = true in the EndEdit
event of any cell in the Sheet, then try to change any other cell.

This did not happen with OWC9 when I gave info.returnvalue = false.

EndEdit event in OWC10, Microsoft help says
Cancel Set the Value property of this argument to True to cancel the
edit and leave the user in edit mode.

Probably I should leave the edit mode after canceling the edit? How?

Please help.

Thanks,
Krishna
 
K

Krishna

oops.. It seems to be occuring because of an alert. I needed to set
enableevents = false to suppress whatever events caused by alert and
set it back again after the alert. This was not causing issues in
OWC9.0 Also OWC10 seems to be more sensitive to code causing events
firing from within events.

Any ways that was one vague error message..
 

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