FMX, TeeChart, drag drop operation

TeeChart FireMonkey (Windows,OSX,iOS & Android) for Embarcadero RAD Studio, Delphi and C++ Builder (XE5+)
Post Reply
Posts: 2
Joined: Mon Sep 21, 2020 12:00 am

FMX, TeeChart, drag drop operation

Post by bflorac » Wed Dec 15, 2021 3:51 am

In the DragOver event, if you set the operation, it does not reflect the operation of the drag/drop. For example, setting it to TDragOperation.None should result it the "not accept" icon.

I can see in the FMXTee.Chart code, procedure TCustomChart.DragOver, the Operation is ignored. Clearly we are trying to make this work the VCK version which only has 2 states.

the line that says: tmpB:=True;
should read: tmpB := Operation <> TDragOperation.None;

and then after the broadcast,

the line that says: if tmpB then Operation:=TDragOperation.Move;
should read: if not tmpB then Operation:=TDragOperation.None;

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

Re: FMX, TeeChart, drag drop operation

Post by Yeray » Wed Dec 15, 2021 10:14 pm


I've just implemented your proposal (#2493). Thanks for the input!
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