Stano 146 Posted September 22 //Original function procedure xyDragDrop(Sender: TBaseVirtualTree; Source: TObject; DataObject: IDataObject; Formats: TFormatArray; Shift: TShiftState; Pt: TPoint; var Effect: Integer; Mode: TDropMode); //Now procedure xyDragDrop(Sender: TBaseVirtualTree; Source: TObject; DataObject: TVTDragDataObject; Formats: TFormatArray; Shift: TShiftState; Pt: TPoint; var Effect: Integer; Mode: TDropMode); See the last word in the first line. IDataObject -> [/color]TVTDragDataObject. Share this post Link to post
Anders Melander 2127 Posted September 22 Was there a question you wanted to ask? Share this post Link to post
Remy Lebeau 1674 Posted September 22 Sounds like you upgraded an existing project to use a newer version of TVirtualTree, where that event has changed signature. You would need to update your existing event handler accordingly. Share this post Link to post
Stano 146 Posted September 23 15 hours ago, Anders Melander said: Was there a question you wanted to ask? No. That was just an announcement. So that others wouldn't be as surprised as I was. The solution is a simple "find and replace" throughout the project. Share this post Link to post