Hi,
I use the event 'ClickBackground' with a graph on BDS2006 with V8.
My code in the event function is interpreted but then I can't do some or deplacement on my graph, like a normal click with no 'ClickBackground' event.
Is there a way to execute 'ClickBackground' function and continue the normal execution of my click ?
Thanks
Chacal
Problem with 'ClickBackground' event
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Chacal,
Yes, you can do something like this:
Hope this helps!
Yes, you can do something like this:
Code: Select all
procedure TForm1.Chart1ClickBackground(Sender: TCustomChart; Button: TMouseButton; Shift: TShiftState; X, Y: Integer);
begin
showmessage('d');
Chart1.TabStop := true;
end;
procedure TForm1.FormCreate(Sender: TObject);
begin
Chart1.TabStop:=true;
end;
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 Chacal,
Yes, you are right. It used to work in some Delphi versions. I've added the issue (TF02013249) to the defect list to be fixed for next releases. In the meantime you can use the OnMouseDown event.
Yes, you are right. It used to work in some Delphi versions. I've added the issue (TF02013249) to the defect list to be fixed for next releases. In the meantime you can use the OnMouseDown event.
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 |