Page 1 of 1

Problems with SmartPopups

Posted: Fri Jan 28, 2011 5:19 pm
by dspa72
Hi
I'm having strange errors with SmartPopups (in C++Builder 6)

I'm able to manage them in the CaretMove event.
when I click on the SmartPopup button, randomnly but frequently
and error occurred (or Access Violation or AbstractError !!! )


This is the code of the smartpopup click

void __fastcall TForm1::RveSmartPopupClick(TCustomRichView *Sender,
TCustomControl *Button)
{

ShowMessage("ok");
}


the error occurs just after the showmessage (at the exit of the function)

I have tried also this

Rve->OnCaretMove = NULL;
ShowMessage("ok");
Rve->OnCaretMove = RveCaretMove;

but the results is the same. Any idea??

Posted: Sat Jan 29, 2011 7:40 pm
by Sergey Tkachenko
What version of TRichView?
Can you send me a simple project reproducing this problem?