Page 1 of 1

TChartBook, mouse behaviour

Posted: Thu Aug 04, 2011 9:58 am
by 16458162
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

Re: TChartBook, mouse behaviour

Posted: Fri Aug 05, 2011 7:29 am
by yeray
Hello,

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

Code: Select all

Book.PopupMenu.AutoPopup:=false;