Recent

Author Topic: VirtualTreeView and latest trunk not wroking  (Read 1711 times)

krzynio

  • Jr. Member
  • **
  • Posts: 99
    • Krzynio's home page
VirtualTreeView and latest trunk not wroking
« on: July 24, 2014, 09:21:03 pm »
Hi!
Today I upgraded my Lazarus 1.3 from svn to build 45964M. Previous was about one month older. After upgrading I cannot compile the VirutalTreeView component (also latest from snv 3373). The error message is the following:

VirtualTrees.pas(1079,14) Error: There is no method in an ancestor class to be overridden: "TVirtualTreeHintWindow.CalcHintRect(LongInt,const AnsiString,Pointer):<record type>;"

I found that in Forms.pas definition of function has been changed:

Latest is:
Code: [Select]
  deprecated 'Set HintData explicitly';
  function CalcHintRect(MaxWidth: Integer; const AHint: String): TRect; virtual;

Previous was:
Code: [Select]
  function CalcHintRect(MaxWidth: Integer; const AHint: String; AData: Pointer): TRect; virtual; 
So it seems that VirtualTreeView must be updated to work with latest Lazarus.

Regards,
Krzysztof
« Last Edit: July 24, 2014, 10:18:32 pm by krzynio »
Ubuntu 23.10 x64, / Windows 11 PL - latest updates
Lazarus 2.2.6, FPC 3.2.2

 

TinyPortal © 2005-2018