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

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.