TChartBook, mouse behaviour

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.

TChartBook, mouse behaviour

Postby 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
jpm
Newbie
Newbie
 
Posts: 8
Joined: Fri Dec 17, 2010 12:00 am

Re: TChartBook, mouse behaviour

Postby 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 ImagePlease read our Bug Fixing Policy
Yeray
Site Admin
Site Admin
 
Posts: 8434
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia


Return to VCL

Who is online

Users browsing this forum: No registered users and 10 guests

cron