[Solved] Virtual Treeview 4.8.7 R1 demo doesn't compile anymore lazarus / 5-Lazarus Extra Components ---------------------------------------------------------------------- JD · 2012-05-22 11:00 Hi there everyone, I updated my Lazarus installation a couple of weeks ago I just noticed that I can no longer compile the Virtual Treeview 4.8.7 Advanced demo. The compiler throws out the following errors: Code: [Select]DrawTreeDemo.pas(695,39) Error: Incompatible type for arg no. 1: Got "COMCTRLS.TSortDirection", expected "VIRTUALTREES.TSortDirection" VirtualTrees.pas(9312,21) Hint: Found declaration: TVTHeader.SetSortDirection(const TSortDirection); DrawTreeDemo.pas(698,30) Error: Incompatible types: got "COMCTRLS.TSortDirection" expected "VIRTUALTREES.TSortDirection" DrawTreeDemo.pas(700,11) Error: Incompatible type for arg no. 1: Got "COMCTRLS.TSortDirection", expected "VIRTUALTREES.TSortDirection" VirtualTrees.pas(9312,21) Hint: Found declaration: TVTHeader.SetSortDirection(const TSortDirection); DrawTreeDemo.pas(701,41) Error: Incompatible type for arg no. 1: Got "COMCTRLS.TSortDirection", expected "VIRTUALTREES.TSortDirection" DrawTreeDemo.pas(753) Fatal: There were 4 errors compiling module, stopping Does anyone know how I can solve this problem? Thanks JD Lazarus 1.1 FPC 2.6.0 Win32 svn 37131. ---------------------------------------------------------------------- LuizAmérico · 2012-05-22 11:52 It's fixed in VTV svn. But the fix is easy, you can do yourself. In uses clause, put VirtualTrees after COMCTRLS ---------------------------------------------------------------------- JD · 2012-05-22 12:01 Thanks Luiz. It's OK now.