Stano 146 Posted 6 hours ago //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 2117 Posted 2 hours ago Was there a question you wanted to ask? Share this post Link to post
Remy Lebeau 1660 Posted 38 minutes ago 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