Hi,
When I add a TAnnotationTool such as TRectangleTool. And I add OndblClick event to the TRectangleTool. In the OnDblClick event I create adn call TColorDialog. After closing the TColorDialog, and move the mouse in to Chart, the TRectangleTool object will follow the mouse move!
Is there a method I can use to stop this?
Thanks
-Bill
TAnnotationTool bug?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi BE,
Could you please send us a simple example project we can run "as-is" to reproduce the problem here?
You can either post your files at news://www.steem.net/steema.public.attachments newsgroup or at our upload page.
Thanks in advance.
Could you please send us a simple example project we can run "as-is" to reproduce the problem here?
You can either post your files at news://www.steem.net/steema.public.attachments newsgroup or at our upload page.
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi BE,
Thanks for the example project. We could reproduce the issue here and will add it to the defect list to be investigated. In the meantime you can use workaround below.
Thanks for the example project. We could reproduce the issue here and will add it to the defect list to be investigated. In the meantime you can use workaround below.
Code: Select all
void __fastcall TForm1::ChartTool1DblClick(TAnnotationTool *Sender, TMouseButton Button,
TShiftState Shift, int X, int Y)
{
ChartTool1->AllowDrag=false;
InputBox("Test", "Test", "Test");
Chart1->CancelMouse=true;
}
//---------------------------------------------------------------------------
void __fastcall TForm1::Chart1MouseMove(TObject *Sender, TShiftState Shift,
int X, int Y)
{
ChartTool1->AllowDrag=true;
}
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |