onpreviewclick is launched when mouse hovers

I am using FastReports 5.1 and Delphi 2007. If you add a memo to a report, and add script to the onpreviewclick event, the script gets launched when the mouse hovers over the menu.

For example, add this pascal script to the onpreviewclick event:

Showmessage('I acted like I was clicked');

And it will display when the mouse hovers. We have quite a few reports that use the onpreviewclick and this is wreaking havoc.

Please fix. Thanks!

Comments

Leave a Comment