Problems with SmartPopups

General TRichView support forum. Please post your questions here
Post Reply
dspa72
Posts: 3
Joined: Fri Dec 05, 2008 10:44 am

Problems with SmartPopups

Post 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??
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

What version of TRichView?
Can you send me a simple project reproducing this problem?
Post Reply