TChartBook, mouse behaviour

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
jpm
Newbie
Newbie
Posts: 8
Joined: Fri Dec 17, 2010 12:00 am

TChartBook, mouse behaviour

Post by jpm » Thu Aug 04, 2011 9:58 am

Onto a TeeChartBook, with the right mouse key I open a panel containing the following propositions:
New
Rename
Delete
Edit
View Tool bar


Note: Same behavious in your exemple source code "unit ChartBook;"

As long as I use this key for an other pupose, I would like to avoid to open such a menu witch is out of my scope.

How can I lock this TeeChartBook behaviour?
Thank you for your answers.
Best regards

Yeray
Site Admin
Site Admin
Posts: 9622
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TChartBook, mouse behaviour

Post by Yeray » Fri Aug 05, 2011 7:29 am

Hello,

To disable the default Popup Menu you can use the TChartBook PopupMenu.AutoPopup property:

Code: Select all

Book.PopupMenu.AutoPopup:=false;
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply